From 5eeeebbaf5aa9ac6b629cfe9665a2cfa22a27806 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 6 May 2024 15:50:39 +0200 Subject: off by one --- play.js | 4 ++-- 1 file 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" -- cgit v1.2.3