From 52614227ce9c88ab8ce64d55e72d00163d956c72 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 10 Oct 2024 17:09:23 +0200 Subject: Add tournament option (for fixed start player). --- rules.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 0a2f27d..e67a996 100644 --- a/rules.js +++ b/rules.js @@ -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() } -- cgit v1.2.3