From 75a430504daec20eac0438e1a6226c02f8043395 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 28 Jul 2021 13:38:19 +0200 Subject: crusader: Show who won in the log. --- rules.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rules.js b/rules.js index 58c0028..5ab6a4c 100644 --- a/rules.js +++ b/rules.js @@ -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; } -- cgit v1.2.3