diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-12-19 17:00:02 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:42:59 +0100 |
commit | 0fe46c7c1d30368942833bbc60551ea533da5b63 (patch) | |
tree | fb54cc502c4a6a2a5ac567927787284fc3f05e06 | |
parent | 6ed8e42df3d01f143fc86180a80d7bf52c430733 (diff) | |
download | 300-earth-and-water-0fe46c7c1d30368942833bbc60551ea533da5b63.tar.gz |
300: Add missing log message when victory by taking both enemy cities.
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |