bug fix for empty modifier shop
This commit is contained in:
parent
03f999e169
commit
670013a107
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue