From a61433b1a2b11055b9a3a75d0ce04499be13986d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 19 Jun 2021 21:50:38 +0200 Subject: Small fixes to block games. --- ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui.js') 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) { -- cgit v1.2.3