diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-07 20:21:57 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-02-11 19:16:17 +0100 |
commit | e030395f388c3991ded313b4e1d0ede79fab28f5 (patch) | |
tree | 2dbec0f9ef5b5d1d3144419d13b07e61939e124a | |
parent | 151fe1944f0c39d2b6176840c6d71169dc8206c1 (diff) | |
download | time-of-crisis-e030395f388c3991ded313b4e1d0ede79fab28f5.tar.gz |
v3: fix bugs
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) } }, |