mirror of
https://github.com/GTNewHorizons/lwjgl3ify.git
synced 2026-11-28 07:56:06 +00:00
Fix: Can't auto-approve the relaunch when hideSettingsOnLauncher == true (#364)
This commit is contained in:
1 parent
9fedd9b8f3
commit
0a19ab79a6
1 file changed
+4
@@ -181,7 +181,11 @@ public class RelauncherUserInterface {
|
||||
|
||||
public void startSettingsIfNeeded() {
|
||||
if (RelauncherConfig.config.hideSettingsOnLaunch) {
|
||||
// The settings GUI is skipped, so nobody will ever click the "Run" button.
|
||||
// Approve the relaunch with the saved config here, otherwise Relauncher.run()
|
||||
// sees runClicked == false and silently exits without starting the game.
|
||||
// TODO: Show a countdown and add a way to show settings again
|
||||
runClicked = true;
|
||||
return;
|
||||
}
|
||||
invokeOnSwingThread(true, () -> {
|
||||
|
||||
Reference in new issue
Block a user