mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 16:56:11 +00:00
Fix stack overflow on game over
This commit is contained in:
parent
5ef6f2da88
commit
4e841db730
@ -2501,7 +2501,7 @@ export class GameOverPhase extends BattlePhase {
|
||||
this.scene.ui.clearText();
|
||||
this.handleUnlocks(this.scene.getParty());
|
||||
this.scene.reset();
|
||||
this.scene.newBattle();
|
||||
this.scene.unshiftPhase(new CheckLoadPhase(this.scene));
|
||||
this.end();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user