summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-11-07 19:32:27 +0100
committerTor Andersson <tor@ccxvii.net>2023-11-07 19:32:27 +0100
commitd2b4bb92318a499acea8ed5ac70650012b003cdd (patch)
tree6f4a99643af14029a0973d8c32e8e6f92e92c668 /rules.js
parent5377399d6ef9d4afa338ffd6ada421af2fbcedc2 (diff)
downloadtime-of-crisis-d2b4bb92318a499acea8ed5ac70650012b003cdd.tar.gz
Fix Damnatio when old emperor was at 0 support.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index c17598d..231d153 100644
--- a/rules.js
+++ b/rules.js
@@ -2714,6 +2714,8 @@ function play_damnatio_memoriae() {
remove_legacy(game.count >> 3, get_support(ITALIA))
game.state = "damnatio_memoriae_mobs"
game.count = game.count & 7
+ if (game.count === 0)
+ goto_becoming_emperor()
}
function play_damnatio_memoriae_exp() {