diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-11-07 18:47:37 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:17 +0100 |
commit | d2e2c00eb09ccc4b80190f8df70168baad087e15 (patch) | |
tree | 799ebec283ab89be728c0539855eb41a1881edd2 /rules.js | |
parent | bc8b86333269347eb7ef4b48fed18216d54c469d (diff) | |
download | hammer-of-the-scots-d2e2c00eb09ccc4b80190f8df70168baad087e15.tar.gz |
Add options to game setup.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2827,11 +2827,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: {}, |