mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-12-03 12:16:22 +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.scene.ui.clearText();
|
||||||
this.handleUnlocks(this.scene.getParty());
|
this.handleUnlocks(this.scene.getParty());
|
||||||
this.scene.reset();
|
this.scene.reset();
|
||||||
this.scene.newBattle();
|
this.scene.unshiftPhase(new CheckLoadPhase(this.scene));
|
||||||
this.end();
|
this.end();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user