summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-02-20 12:33:50 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commit17c9a3356eca1b7131d6db66a48dee1146f93b17 (patch)
tree0c21e31dd040dd32fadb5ffd21c0f838d180c868
parent91e3abc285dab2918d717ec56743872f42b405cc (diff)
downloadjulius-caesar-17c9a3356eca1b7131d6db66a48dee1146f93b17.tar.gz
Log which options are in effect.
-rw-r--r--rules.js6
1 files 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)