Fix stack overflow on game over
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