diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-02-20 12:33:50 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | 17c9a3356eca1b7131d6db66a48dee1146f93b17 (patch) | |
tree | 0c21e31dd040dd32fadb5ffd21c0f838d180c868 | |
parent | 91e3abc285dab2918d717ec56743872f42b405cc (diff) | |
download | julius-caesar-17c9a3356eca1b7131d6db66a48dee1146f93b17.tar.gz |
Log which options are in effect.
-rw-r--r-- | rules.js | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |