diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-07 18:47:37 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 73abf5b81d7de43293acc9bdccdcb538504dbcf6 (patch) | |
tree | 9445a0c17015a6c5280ec97010a7263a380f81f7 | |
parent | b670c39aab380dfb7290cec760b3dfc4fcf77b1d (diff) | |
download | richard-iii-73abf5b81d7de43293acc9bdccdcb538504dbcf6.tar.gz |
Add options to game setup.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3338,11 +3338,11 @@ function make_battle_view() { return battle; } -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, attacker: {}, |