Ignore battle right click while modal is open

This commit is contained in:
2026-07-05 03:55:41 +09:00
parent 2678649d2a
commit 7b3d3abdd6

View File

@@ -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 = '선택을 해제했습니다. 배치할 장수를 다시 선택하세요.';