diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-28 13:38:19 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:19:39 +0100 |
commit | 75a430504daec20eac0438e1a6226c02f8043395 (patch) | |
tree | 3487c7639619880af64bc4ecc5c92fe3f0dc7c90 | |
parent | c5bd03c1c31830e027ff75134ad80f5e2a8caf84 (diff) | |
download | crusader-rex-75a430504daec20eac0438e1a6226c02f8043395.tar.gz |
crusader: Show who won in the log.
-rw-r--r-- | rules.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1111,12 +1111,16 @@ function check_sudden_death() { game.state = 'game_over'; game.result = FRANKS; game.victory = "Franks control all seven victory cities." + log(""); + log(game.victory); return true; } if (game.s_vp === 7) { game.state = 'game_over'; game.result = SARACENS; game.victory = "Saracens control all seven victory cities." + log(""); + log(game.victory); return true; } } @@ -3573,6 +3577,8 @@ function goto_year_end() { game.victory = "The game is a draw."; game.result = null; } + log(""); + log(game.victory); return; } |