mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Fixed Quest mode new/old UI checkbox bug.
This commit is contained in:
@@ -576,6 +576,13 @@ public class OldGuiNewGame extends JFrame {
|
||||
|
||||
OldGuiNewGame.oldGuiCheckBox.setText(ForgeProps
|
||||
.getLocalized(NewConstants.Lang.OldGuiNewGame.NewGameText.OLD_GUI));
|
||||
OldGuiNewGame.oldGuiCheckBox.addActionListener(new java.awt.event.ActionListener() {
|
||||
@Override
|
||||
public void actionPerformed(final ActionEvent e) {
|
||||
Constant.Runtime.OLDGUI[0] = OldGuiNewGame.oldGuiCheckBox.isSelected();
|
||||
}
|
||||
});
|
||||
|
||||
OldGuiNewGame.getSmoothLandCheckBox().setText(
|
||||
ForgeProps.getLocalized(NewConstants.Lang.OldGuiNewGame.NewGameText.AI_LAND));
|
||||
|
||||
@@ -884,8 +891,6 @@ public class OldGuiNewGame extends JFrame {
|
||||
}
|
||||
} // else
|
||||
|
||||
Constant.Runtime.OLDGUI[0] = OldGuiNewGame.oldGuiCheckBox.isSelected();
|
||||
|
||||
if (Constant.Runtime.OLDGUI[0]) {
|
||||
AllZone.setDisplay(new GuiDisplay());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user