diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-06 15:50:39 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-06 15:50:39 +0200 |
commit | 5eeeebbaf5aa9ac6b629cfe9665a2cfa22a27806 (patch) | |
tree | 67391ee8f05100f851646ab3a74962d431932f37 | |
parent | afa7dba661d39abdaa2f5712b8ee42ce972e276f (diff) | |
download | plantagenet-5eeeebbaf5aa9ac6b629cfe9665a2cfa22a27806.tar.gz |
off by one
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |