summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-08-03 01:58:42 +0200
committerTor Andersson <tor@ccxvii.net>2023-08-03 01:58:42 +0200
commit63a94ceb87d49bb45d3fe5a0a55584c5b992111c (patch)
tree90db162014906a125f11257c959239876b78e27c /rules.js
parent0dd8ed93c2b7486888f63dbd5a5afd31e319dc70 (diff)
downloadtime-of-crisis-63a94ceb87d49bb45d3fe5a0a55584c5b992111c.tar.gz
Don't place governor if you ever were governor in province.
Like Italia, for all provinces.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 6747869..a332d2e 100644
--- a/rules.js
+++ b/rules.js
@@ -1823,8 +1823,9 @@ function goto_take_actions() {
game.used = []
game.placed = 0
- if (is_emperor_player())
- set_placed_governor(ITALIA)
+ for (let where = 0; where < 12; ++where)
+ if (is_own_province(where))
+ set_placed_governor(where)
if (game.frumentarii & (1 << game.current)) {
game.frumentarii &= ~(1 << game.current)