From 0fe46c7c1d30368942833bbc60551ea533da5b63 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 19 Dec 2021 17:00:02 +0100 Subject: 300: Add missing log message when victory by taking both enemy cities. --- rules.js | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3