diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-06-19 20:06:04 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 12:12:42 +0100 |
commit | cccd20985c0e53d031cf153450b0f0bc61039d78 (patch) | |
tree | 9da04c6c8595d2f546ba20456209af1ab5b62e46 | |
parent | 9ca35fc98d77cd7c23dfbe25de8a67194b270b44 (diff) | |
download | shores-of-tripoli-cccd20985c0e53d031cf153450b0f0bc61039d78.tar.gz |
tripoli: Rename scenario to show they use the optional tournament rules.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |