summaryrefslogtreecommitdiff
path: root/src/com/dabomstew/pkrandom/newgui
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2021-03-06 14:02:35 -0800
committertom-overton <tom.overton@outlook.com>2021-03-06 14:02:35 -0800
commit9839f921d14702f04c8ad9701f1161b1c5d161e6 (patch)
tree3ecc1ec781953d8047ae7fcf496fef923008bb1b /src/com/dabomstew/pkrandom/newgui
parent4260e2d9eb2ede77d8c86e20431ee91b34afe050 (diff)
Fix issue where unloadGameOnSuccess was false by default
Diffstat (limited to 'src/com/dabomstew/pkrandom/newgui')
-rw-r--r--src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
index c9d8506..5675de9 100644
--- a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
+++ b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
@@ -3336,6 +3336,8 @@ public class NewRandomizerGUI {
}
private void attemptReadConfig() {
+ // Things that should be true by default should be manually set here
+ unloadGameOnSuccess = true;
File fh = new File(SysConstants.ROOT_PATH + "config.ini");
if (!fh.exists() || !fh.canRead()) {
return;