summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/play.js b/play.js
index 64fa4cb..b4b8fb0 100644
--- a/play.js
+++ b/play.js
@@ -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) {