summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-19 17:00:02 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:42:59 +0100
commit0fe46c7c1d30368942833bbc60551ea533da5b63 (patch)
treefb54cc502c4a6a2a5ac567927787284fc3f05e06
parent6ed8e42df3d01f143fc86180a80d7bf52c430733 (diff)
download300-earth-and-water-0fe46c7c1d30368942833bbc60551ea533da5b63.tar.gz
300: Add missing log message when victory by taking both enemy cities.
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 19494ee..ee36620 100644
--- a/rules.js
+++ b/rules.js
@@ -3222,12 +3222,16 @@ function goto_scoring_phase() {
game.victory = "Persia wins by controlling Athenai and Sparta!";
game.state = 'game_over';
game.result = PERSIA;
+ log("");
+ log(game.victory);
return;
}
if (is_greek_control(ABYDOS) && is_greek_control(EPHESOS)) {
game.victory = "Greece wins by controlling Abydos and Ephesos!";
game.state = 'game_over';
game.result = GREECE;
+ log("");
+ log(game.victory);
return;
}
let greek_vp = 0;