summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTroy Nordine <tdnordine@gmail.com>2023-09-27 20:27:49 -0500
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit1566a8613d4bf21eafdeaa3135c7c496d420e315 (patch)
tree352b6d2052a96c00bc5cee9858eeec89c27e49c9 /rules.js
parent3520d7b5be9b0a05e2fb249970b40f7dca217848 (diff)
downloadplantagenet-1566a8613d4bf21eafdeaa3135c7c496d420e315.tar.gz
Fix for Warwick and paying influence.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 351e56c..f701bda 100644
--- a/rules.js
+++ b/rules.js
@@ -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