Fix menu disabling
This commit is contained in:
parent
94d5eab489
commit
8ab21b99fb
|
@ -3221,6 +3221,8 @@ export class TrainerVictoryPhase extends BattlePhase {
|
|||
}
|
||||
|
||||
start() {
|
||||
this.scene.disableMenu = true;
|
||||
|
||||
this.scene.playBgm(this.scene.currentBattle.trainer.config.victoryBgm);
|
||||
|
||||
this.scene.unshiftPhase(new MoneyRewardPhase(this.scene, this.scene.currentBattle.trainer.config.moneyMultiplier));
|
||||
|
@ -3305,7 +3307,6 @@ export class ModifierRewardPhase extends BattlePhase {
|
|||
|
||||
doReward(): Promise<void> {
|
||||
return new Promise<void>(resolve => {
|
||||
this.scene.disableMenu = true;
|
||||
const newModifier = this.modifierType.newModifier();
|
||||
this.scene.addModifier(newModifier).then(() => {
|
||||
this.scene.playSound('item_fanfare');
|
||||
|
|
Loading…
Reference in New Issue