Fix field scale not resetting after a run ends

pull/16/head
Flashfyre 2024-03-17 00:36:33 -04:00
parent a52b8c6b4b
commit ee0ff881a9
1 changed files with 1 additions and 0 deletions

View File

@ -3107,6 +3107,7 @@ export class GameOverPhase extends BattlePhase {
const fadeDuration = this.victory ? 10000 : 5000; const fadeDuration = this.victory ? 10000 : 5000;
this.scene.fadeOutBgm(fadeDuration, true); this.scene.fadeOutBgm(fadeDuration, true);
this.scene.ui.fadeOut(fadeDuration).then(() => { this.scene.ui.fadeOut(fadeDuration).then(() => {
this.scene.setFieldScale(1, true);
this.scene.clearPhaseQueue(); this.scene.clearPhaseQueue();
this.scene.ui.clearText(); this.scene.ui.clearText();
this.handleUnlocks(); this.handleUnlocks();