diff options
author | Ajarmar <axel.jarmar@gmail.com> | 2022-05-21 10:36:05 +0200 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-05-21 13:23:20 +0100 |
commit | f069dc41a5729abe41bf3f6665b80700611103c1 (patch) | |
tree | 8e985da1a7d482c1b50a203df31c70c9d69fdde3 | |
parent | c5bf1fc29e858ad219cf056f3ba5e98e582c72f6 (diff) |
don't add evolution moves in games that don't have them
-rw-r--r-- | src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java index 7a8e8ca..00a9616 100644 --- a/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java +++ b/src/com/sneed/pkrandom/newgui/NewRandomizerGUI.java @@ -1577,7 +1577,8 @@ public class NewRandomizerGUI { settings.setMovesetsForceGoodDamaging(pmsForceGoodDamagingCheckBox.isSelected()); settings.setMovesetsGoodDamagingPercent(pmsForceGoodDamagingSlider.getValue()); settings.setBlockBrokenMovesetMoves(pmsNoGameBreakingMovesCheckBox.isSelected()); - settings.setEvolutionMovesForAll(pmsEvolutionMovesCheckBox.isSelected()); + settings.setEvolutionMovesForAll(pmsEvolutionMovesCheckBox.isVisible() && + pmsEvolutionMovesCheckBox.isSelected()); settings.setTrainersMod(isTrainerSetting(TRAINER_UNCHANGED), isTrainerSetting(TRAINER_RANDOM), isTrainerSetting(TRAINER_RANDOM_EVEN), isTrainerSetting(TRAINER_RANDOM_EVEN_MAIN), |