summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-23 00:45:18 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-23 00:45:18 +0200
commit512159834068134bc38742aeec08e7b4732b0758 (patch)
tree2fc8ee1b9bef863404f66644d42dbcb5d1bdbefc
parent092a76abde95a2f947698afb581f2e6f443747c3 (diff)
downloadtime-of-crisis-512159834068134bc38742aeec08e7b4732b0758.tar.gz
Update Italia support when replacing pretender governor.
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index c1c0bba..d89acd8 100644
--- a/rules.js
+++ b/rules.js
@@ -3022,6 +3022,8 @@ states.replace_pretender_governor = {
push_undo()
log("Replaced governor.")
set_governor_location(id, game.where)
+ if (is_emperor_player())
+ increase_support(ITALIA)
update_neutral_italia()
end_occupation_of_pretender_capital()
},