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:19:39 +0100 |
commit | c785c2d7cff047dd88743d9b1c8487f1091c7c51 (patch) | |
tree | 5bab4a9b75c8956328114be36b68060fc3bf8dd2 | |
parent | 941a2ad14e547c223cc347297adca003c0bed56a (diff) | |
download | crusader-rex-c785c2d7cff047dd88743d9b1c8487f1091c7c51.tar.gz |
Add options to game setup.
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3682,11 +3682,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, s_hand: [], |