From bd651ebda0091b3a697196d1e95944a36bdcdc0d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 7 Nov 2021 18:47:37 +0100 Subject: Add options to game setup. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 862d984..fcc9d36 100644 --- a/rules.js +++ b/rules.js @@ -2758,11 +2758,11 @@ states.game_over = { // SETUP -exports.ready = function (scenario, players) { +exports.ready = function (scenario, options, players) { return players.length === 2; } -exports.setup = function (seed, scenario) { +exports.setup = function (seed, scenario, options) { game = { seed: seed, state: null, -- cgit v1.2.3