summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-05-06 15:50:39 +0200
committerTor Andersson <tor@ccxvii.net>2024-05-06 15:50:39 +0200
commit5eeeebbaf5aa9ac6b629cfe9665a2cfa22a27806 (patch)
tree67391ee8f05100f851646ab3a74962d431932f37
parentafa7dba661d39abdaa2f5712b8ee42ce972e276f (diff)
downloadplantagenet-5eeeebbaf5aa9ac6b629cfe9665a2cfa22a27806.tar.gz
off by one
-rw-r--r--play.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.js b/play.js
index df44b43..4b3eb18 100644
--- a/play.js
+++ b/play.js
@@ -1057,9 +1057,9 @@ function update_lord_mat(ix) {
update_lord_troops(ui.routed_troops[ix], view.pieces.routed, ix, true)
let n = count_lord_all_forces(ix)
- if (n < 6)
+ if (n <= 6)
ui.lord_feed[ix].className = "hide"
- else if (n < 12)
+ else if (n <= 12)
ui.lord_feed[ix].className = "marker small feed x2"
else
ui.lord_feed[ix].className = "marker small feed x3"