Fix freezing after pressing new game without endless unlocked
parent
90f6005603
commit
39667f3398
|
@ -202,8 +202,12 @@ export class TitlePhase extends Phase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.scene.ui.showText('Select a game mode.', null, () => this.scene.ui.setOverlayMode(Mode.OPTION_SELECT, { options: options }));
|
this.scene.ui.showText('Select a game mode.', null, () => this.scene.ui.setOverlayMode(Mode.OPTION_SELECT, { options: options }));
|
||||||
} else
|
} else {
|
||||||
|
this.gameMode = GameModes.CLASSIC;
|
||||||
|
this.scene.ui.setMode(Mode.MESSAGE);
|
||||||
|
this.scene.ui.clearText();
|
||||||
this.end();
|
this.end();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue