From 1566a8613d4bf21eafdeaa3135c7c496d420e315 Mon Sep 17 00:00:00 2001 From: Troy Nordine Date: Wed, 27 Sep 2023 20:27:49 -0500 Subject: Fix for Warwick and paying influence. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') 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 -- cgit v1.2.3