Fix stack overflow on game over
This commit is contained in:
1 parent
5ef6f2da88
commit
4e841db730
1 file changed
+1
-1
@@ -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();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user