summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 98b8bc1..5d7283e 100644
--- a/rules.js
+++ b/rules.js
@@ -8261,8 +8261,11 @@ states.warden_of_the_marches = {
else {
set_lord_forces(lord, RETINUE, 1)
}
- if (get_lord_routed_forces(lord, x) > 0) {
- set_lord_routed_forces(lord, x, 0)
+ for (let x = 0; x < FORCE_TYPE_COUNT; ++x) {
+ set_lord_forces(lord, x, 0)
+ if (get_lord_routed_forces(lord, x) > 0) {
+ set_lord_routed_forces(lord, x, 0)
+ }
}
for_each_vassal_with_lord(lord, v => {
if (set_has(game.battle.routed_vassals, v)) {