summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-04-07 00:42:19 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit0803a570fd0b9bf7a74a878381b496a35491cfae (patch)
tree769a172f5a92f192c3b023ad05a830c77f9734d6
parent357f2f22e46db3f36250d4e6b7a492f1a3fbac17 (diff)
downloadwilderness-war-0803a570fd0b9bf7a74a878381b496a35491cfae.tar.gz
Fix off-by-one when picking up all forces.
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index ecd486f..dc6886a 100644
--- a/rules.js
+++ b/rules.js
@@ -2573,7 +2573,7 @@ states.designate_force = {
if (is_piece_in_force(JOHNSON, commander))
move_piece_to(p, box);
} else {
- if (count_non_british_iroquois_and_mohawk_units_in_force(commander) <= force_command(commander))
+ if (count_non_british_iroquois_and_mohawk_units_in_force(commander) < force_command(commander))
move_piece_to(p, box);
}
});