summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-19 20:06:04 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 12:12:42 +0100
commitcccd20985c0e53d031cf153450b0f0bc61039d78 (patch)
tree9da04c6c8595d2f546ba20456209af1ab5b62e46
parent9ca35fc98d77cd7c23dfbe25de8a67194b270b44 (diff)
downloadshores-of-tripoli-cccd20985c0e53d031cf153450b0f0bc61039d78.tar.gz
tripoli: Rename scenario to show they use the optional tournament rules.
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
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);