diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-12-29 11:08:08 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-15 16:19:21 +0100 |
commit | 97a65af76ed3fa247a8415a45e93b2c3dec59e5c (patch) | |
tree | 547aa1dc667bf3ddd334b94532459453760dabeb | |
parent | e270339370b9175c192c019630335900327d7ec3 (diff) | |
download | maria-master.tar.gz |
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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() } |