bug fix for empty modifier shop

This commit is contained in:
ImperialSympathizer 2024-07-19 15:33:07 -04:00
parent 03f999e169
commit 670013a107
1 changed files with 2 additions and 2 deletions

View File

@ -5386,10 +5386,10 @@ export class SelectModifierPhase extends BattlePhase {
return true; return true;
case 1: case 1:
if (typeOptions.length === 0) { if (typeOptions.length === 0) {
this.scene.ui.revertMode(); this.scene.ui.clearText();
this.scene.ui.setMode(Mode.MESSAGE); this.scene.ui.setMode(Mode.MESSAGE);
super.end(); super.end();
return; return true;
} }
modifierType = typeOptions[cursor].type; modifierType = typeOptions[cursor].type;
break; break;