mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-18 18:28:22 +00:00
Fix daily run freeze (#1025)
This commit is contained in:
parent
edf3a6aa36
commit
10437142b6
@ -3545,10 +3545,12 @@ export class GameOverModifierRewardPhase extends ModifierRewardPhase {
|
|||||||
this.scene.addModifier(newModifier).then(() => {
|
this.scene.addModifier(newModifier).then(() => {
|
||||||
this.scene.playSound('level_up_fanfare');
|
this.scene.playSound('level_up_fanfare');
|
||||||
this.scene.ui.setMode(Mode.MESSAGE);
|
this.scene.ui.setMode(Mode.MESSAGE);
|
||||||
|
this.scene.ui.fadeIn(250).then(() => {
|
||||||
this.scene.ui.showText(`You received\n${newModifier.type.name}!`, null, () => {
|
this.scene.ui.showText(`You received\n${newModifier.type.name}!`, null, () => {
|
||||||
this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true));
|
this.scene.time.delayedCall(1500, () => this.scene.arenaBg.setVisible(true));
|
||||||
resolve();
|
resolve();
|
||||||
}, null, true, 1500);
|
}, null, true, 1500);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user