diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-06-30 15:16:34 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:18 +0100 |
commit | 7cdf8ecdcd78f85c3331a97c6373595cd5e4a5cb (patch) | |
tree | d1f536d557e91cf1ac46ab68755e1e4091a31420 /play.js | |
parent | 208df2953976067757e9477574fda56350b6407a (diff) | |
download | hammer-of-the-scots-7cdf8ecdcd78f85c3331a97c6373595cd5e4a5cb.tar.gz |
Fix tooltip of battle reserves.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -143,10 +143,7 @@ function on_click_map_block(evt) { } function is_battle_reserve(who, list) { - for (let [b, s, m] of list) - if (who === b) - return true - return false + return list.includes(who) } function on_focus_battle_block(evt) { |