diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-18 03:39:24 +0100 |
---|---|---|
committer | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-02-18 03:39:24 +0100 |
commit | bb276c4439083834ada25cd9d0bfacf459c4e3fc (patch) | |
tree | 5e3341bb3472f7246252e13b723fecfc8c75da59 /rules.js | |
parent | 6af263a7df05a6928b48480dc336078159a26640 (diff) | |
download | plantagenet-bb276c4439083834ada25cd9d0bfacf459c4e3fc.tar.gz |
hotfix warden
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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)) { |