summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-11 19:32:34 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-11 19:32:34 +0100
commit9e0886d2e90ef2f28afbcba7f09ab560c61d92e9 (patch)
treeb2f643fc79db88d65bdd6310085936d9a0203c9e
parent16b1fc4b2ac78caed8d9ca3c7b29ee85cd3bf4d0 (diff)
download300-earth-and-water-9e0886d2e90ef2f28afbcba7f09ab560c61d92e9.tar.gz
fix game over triggerHEADmaster
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index f2338ed..677ff2a 100644
--- a/rules.js
+++ b/rules.js
@@ -3306,6 +3306,7 @@ function goto_scoring_phase() {
if (is_persian_control(ATHENAI) && is_persian_control(SPARTA)) {
game.victory = "Persia won by controlling Athenai and Sparta!";
game.state = 'game_over';
+ game.active = "None";
game.result = PERSIA;
log_sep();
log(game.victory);
@@ -3314,6 +3315,7 @@ function goto_scoring_phase() {
if (is_greek_control(ABYDOS) && is_greek_control(EPHESOS)) {
game.victory = "Greece won by controlling Abydos and Ephesos!";
game.state = 'game_over';
+ game.active = "None";
game.result = GREECE;
log_sep();
log(game.victory);
@@ -3354,6 +3356,7 @@ function end_campaign() {
game.result = "Draw";
}
game.state = 'game_over';
+ game.active = "None";
log_sep();
log(game.victory);
} else {