diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-06 13:40:00 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 91fb32ae4dab552c39b561465659e739a7d5e9de (patch) | |
tree | aff08c48886bb9c707555782b255a8df0920d57f /play.js | |
parent | 325587fce5ee7b41191d6b0ddfa2fd2afac1ed4f (diff) | |
download | nevsky-91fb32ae4dab552c39b561465659e739a7d5e9de.tar.gz |
Fix lift siege typo.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -194,7 +194,11 @@ function pack4_get(word, n) { } function is_lord_besieged(lord) { - return pack1_get(view.pieces.besieged, lord) + let besieged = pack1_get(view.pieces.besieged, lord) + // show sallying lords as not besieged + if (view.battle && view.battle.reserves.includes(lord)) + return false + return besieged } function is_lord_moved(lord) { |