From 7b3d3abdd6299b0ff2144acf4df419e0c44f1140 Mon Sep 17 00:00:00 2001 From: Wickedness Date: Sun, 5 Jul 2026 03:55:41 +0900 Subject: [PATCH] Ignore battle right click while modal is open --- src/game/scenes/BattleScene.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/scenes/BattleScene.ts b/src/game/scenes/BattleScene.ts index 4310a9b..148d5d1 100644 --- a/src/game/scenes/BattleScene.ts +++ b/src/game/scenes/BattleScene.ts @@ -10832,6 +10832,10 @@ export class BattleScene extends Phaser.Scene { return; } + if (this.saveSlotPanelObjects.length > 0 || this.turnPromptObjects.length > 0) { + return; + } + if (this.phase === 'deployment') { this.deploymentSelectedUnitId = undefined; this.deploymentNotice = '선택을 해제했습니다. 배치할 장수를 다시 선택하세요.';