From 17c9a3356eca1b7131d6db66a48dee1146f93b17 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 20 Feb 2022 12:33:50 +0100 Subject: Log which options are in effect. --- rules.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 48e6013..a390cf0 100644 --- a/rules.js +++ b/rules.js @@ -1049,7 +1049,6 @@ function reveal_cards() { // Tournament rule: Caesar always goes first on the first turn of the game. if (game.year === 705 && game.turn === 1 && game.tournament) { if (game.p1 !== CAESAR) { - log("Tournament rule:\nCaesar is the first player on the very first turn of the game."); game.p1 = CAESAR; game.p2 = POMPEIUS; } @@ -2491,8 +2490,11 @@ exports.setup = function (seed, scenario, options) { log: [], }; - if (options && options.tournament) + if (options && options.tournament) { + log("Tournament rule:\nCaesar is the first player on the very first turn of the game."); + log(""); game.tournament = 1; + } // Option for backwards compatible replays. if (options && options.automatic_disruption) -- cgit v1.2.3