diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-19 21:50:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 89ac1f61defbf542b97d16fd1eb3232392e3b505 (patch) | |
tree | fa485becf1a2ff292dcf58812fd01d965848fb1d /ui.js | |
parent | 7fb65c1a16c61711a515549394b9e5f8dec93919 (diff) | |
download | richard-iii-89ac1f61defbf542b97d16fd1eb3232392e3b505.tar.gz |
Small fixes to block games.
Diffstat (limited to 'ui.js')
-rw-r--r-- | ui.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -132,7 +132,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) { |