mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38: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]) {
|
if (Constant.Runtime.OLDGUI[0]) {
|
||||||
AllZone.setDisplay(new GuiDisplay());
|
AllZone.setDisplay(new GuiDisplay());
|
||||||
} else {
|
} 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();
|
Constant.Runtime.SMOOTH[0] = this.smoothLandCheckBox.isSelected();
|
||||||
|
|||||||
Reference in New Issue
Block a user