summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 75d97a4..506869f 100644
--- a/ui.js
+++ b/ui.js
@@ -101,7 +101,8 @@ function on_blur_map_block(evt) {
function on_click_map_block(evt) {
let b = evt.target.block;
- send_action('block', b);
+ if (!game.battle)
+ send_action('block', b);
}
function is_battle_reserve(who, list) {