diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-10 17:09:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-10 22:01:04 +0200 |
commit | 52614227ce9c88ab8ce64d55e72d00163d956c72 (patch) | |
tree | d3a5d738b4d8f0276e8c867a937c3635f04b334c /rules.js | |
parent | b641df55f93a050765be1213064e020a093f1f28 (diff) | |
download | time-of-crisis-52614227ce9c88ab8ce64d55e72d00163d956c72.tar.gz |
Add tournament option (for fixed start player).
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -5604,7 +5604,12 @@ exports.setup = function (seed, scenario, options) { reset_neutral_italia() - game.first = game.current = random(player_count) + if (options.tournament) + game.first = 0 + else + game.first = random(player_count) + + game.current = game.first return save_game() } |