mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 05:07:11 +00:00
Fix freezing after pressing new game without endless unlocked
This commit is contained in:
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 }));
|
||||
} else
|
||||
} else {
|
||||
this.gameMode = GameModes.CLASSIC;
|
||||
this.scene.ui.setMode(Mode.MESSAGE);
|
||||
this.scene.ui.clearText();
|
||||
this.end();
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user