diff options
author | Troy Nordine <tdnordine@gmail.com> | 2023-09-27 20:27:49 -0500 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 1566a8613d4bf21eafdeaa3135c7c496d420e315 (patch) | |
tree | 352b6d2052a96c00bc5cee9858eeec89c27e49c9 /rules.js | |
parent | 3520d7b5be9b0a05e2fb249970b40f7dca217848 (diff) | |
download | plantagenet-1566a8613d4bf21eafdeaa3135c7c496d420e315.tar.gz |
Fix for Warwick and paying influence.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6103,7 +6103,7 @@ function has_friendly_lord_who_must_pay_troops() { function goto_pay_lords() { clear_undo() - for (let lord = first_friendly_lord; lord < last_friendly_lord; lord++) { + for (let lord = first_friendly_lord; lord <= last_friendly_lord; lord++) { if (is_lord_on_map(lord)) set_lord_unfed(lord, 1) } @@ -6133,7 +6133,7 @@ states.pay_lords = { let done = true if (game.who === NOBODY) { - for (let lord = first_friendly_lord; lord < last_friendly_lord; lord++) { + for (let lord = first_friendly_lord; lord <= last_friendly_lord; lord++) { if (is_lord_on_map(lord) && is_lord_unfed(lord)) { gen_action_lord(lord) done = false |