From d2b4bb92318a499acea8ed5ac70650012b003cdd Mon Sep 17 00:00:00 2001
From: Tor Andersson <tor@ccxvii.net>
Date: Tue, 7 Nov 2023 19:32:27 +0100
Subject: Fix Damnatio when old emperor was at 0 support.

---
 rules.js | 2 ++
 1 file changed, 2 insertions(+)

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() {
-- 
cgit v1.2.3