From cccd20985c0e53d031cf153450b0f0bc61039d78 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 19 Jun 2021 20:06:04 +0200 Subject: tripoli: Rename scenario to show they use the optional tournament rules. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 8d64940..19b7414 100644 --- a/rules.js +++ b/rules.js @@ -8,7 +8,7 @@ const TR = "Tripolitania"; const { SPACES, PIECES, SEASONS } = require('./data'); exports.scenarios = [ - "Standard", + "Tournament", ]; function get_piece_id(name) { @@ -2766,7 +2766,7 @@ exports.setup = function (scenario, players) { undo: [], }; - if (scenario && scenario != "Standard") + if (typeof scenario == 'number') game.year = scenario; game.tr.core.push(YUSUF_QARAMANLI); -- cgit v1.2.3