Some minor bug fixes

This commit is contained in:
Flashfyre committed 2023-04-12 21:44:12 -04:00
1 parent 6397a10998
commit 53d62056d2
3 files changed
+7 -5

No files matched your search

+2
View File
@@ -51,6 +51,8 @@ export default class FightUiHandler extends UiHandler {
if (button === Button.ACTION) {
if (((this.scene as BattleScene).getCurrentPhase() as CommandPhase).handleCommand(Command.FIGHT, this.cursor))
success = true;
else
ui.playError();
} else {
ui.setMode(Mode.COMMAND);
success = true;