From e030395f388c3991ded313b4e1d0ede79fab28f5 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 7 Feb 2025 20:21:57 +0100 Subject: v3: fix bugs --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index db85a1f..cd09d1a 100644 --- a/rules.js +++ b/rules.js @@ -3603,7 +3603,7 @@ function can_play_foederati_v3() { for (let i = 0; i < 6; ++i) { let id = game.current * 6 + i let where = get_general_location(id) - if (is_province(where) && can_foederati_from_region(where)) + if (is_region(where) && can_foederati_from_region(where)) return true where = get_governor_location(id) if (is_province(where) && has_lone_militia(where) && can_foederati_from_region(where)) @@ -4323,7 +4323,7 @@ states.demagogue_v3 = { prompt("Demagogue: Place 1-3 mobs in any province.") view.color = POPULACE for (let where = 0; where < 12; ++where) { - if (!is_own_province()) + if (!is_own_province(where)) gen_action_region(where) } }, -- cgit v1.2.3