mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
fix the first NPE related to playing Quest Mode from current incarnation of New GUI Home Screen
This commit is contained in:
@@ -777,7 +777,9 @@ public class QuestMainPanel extends QuestAbstractPanel {
|
||||
if (Constant.Runtime.OLDGUI[0]) {
|
||||
AllZone.setDisplay(new GuiDisplay());
|
||||
} else {
|
||||
((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().initMatch();
|
||||
GuiTopLevel g = (GuiTopLevel) AllZone.getDisplay();
|
||||
g.getController().changeState(1);
|
||||
g.getController().getMatchController().initMatch();
|
||||
}
|
||||
|
||||
Constant.Runtime.SMOOTH[0] = this.smoothLandCheckBox.isSelected();
|
||||
|
||||
Reference in New Issue
Block a user