From 1c4a7961dae8aeab3f3f40e53f6d47818ef6346b Mon Sep 17 00:00:00 2001 From: kuronekochomusuke Date: Wed, 14 Dec 2022 16:15:41 -0500 Subject: [PATCH] RFE 426 overlay for Planetary Conditions update 17 --- .../ui/swing/boardview/PlanetaryConditionsOverlay.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/megamek/src/megamek/client/ui/swing/boardview/PlanetaryConditionsOverlay.java b/megamek/src/megamek/client/ui/swing/boardview/PlanetaryConditionsOverlay.java index ce03a6436af..b833ac1feb3 100644 --- a/megamek/src/megamek/client/ui/swing/boardview/PlanetaryConditionsOverlay.java +++ b/megamek/src/megamek/client/ui/swing/boardview/PlanetaryConditionsOverlay.java @@ -394,12 +394,8 @@ public void gameTurnChange(GameTurnChangeEvent e) { @Override public void preferenceChange(PreferenceChangeEvent e) { - if (e.getName().equals(KeyBindParser.KEYBINDS_CHANGED)) { - changed = true; - } - if (e.getName().equals(GUIPreferences.GUI_SCALE)) { - changed = true; - } + // change on any preference change + changed = true; } }