From 97a65af76ed3fa247a8415a45e93b2c3dec59e5c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 29 Dec 2024 11:08:08 +0100 Subject: Check for instant victory immediately after imperial election. --- rules.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rules.js b/rules.js index 424aa0b..b183bab 100644 --- a/rules.js +++ b/rules.js @@ -6193,6 +6193,10 @@ function end_imperial_election() { game.flags |= F_EMPEROR_FRANCE } game.flags &= ~F_IMPERIAL_ELECTION + + if (check_instant_victory()) + return + goto_start_turn() } -- cgit v1.2.3