summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-23 16:40:23 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-23 16:40:23 +0200
commit7e9fda68ff0733dcd570aa74d8d862f0bc300342 (patch)
tree39d12441bb95eacc607bf287f8a021784dc718a5 /rules.js
parent512159834068134bc38742aeec08e7b4732b0758 (diff)
downloadtime-of-crisis-7e9fda68ff0733dcd570aa74d8d862f0bc300342.tar.gz
Fix Legitimize claim bug.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index d89acd8..35040a0 100644
--- a/rules.js
+++ b/rules.js
@@ -4892,7 +4892,7 @@ states.legitimize_claim = {
prompt("Gain Legacy: Remove seat of power and breakaway markers in your provinces.")
view.color = POPULACE
for (let where = 1; where < 12; ++where)
- if (is_own_province(where) && is_seat_of_power(where) || is_breakaway(where))
+ if (is_own_province(where) && (is_seat_of_power(where) || is_breakaway(where)))
gen_action_region(where)
},
region(where) {