Dismiss battle turn prompts with escape

This commit is contained in:
2026-07-05 03:29:01 +09:00
parent 71bf6ffde9
commit 10c4d4ef94

View File

@@ -3190,6 +3190,12 @@ export class BattleScene extends Phaser.Scene {
return;
}
if (this.turnPromptObjects.length > 0) {
soundDirector.playSelect();
this.hideTurnEndPrompt();
return;
}
if (this.commandMenuObjects.length > 0) {
soundDirector.playSelect();
this.hideCommandMenu();