diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-13 15:36:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 11:54:52 +0100 |
commit | ca9dd7a2749b728349ec753bca6534d3ea33b466 (patch) | |
tree | 02c914ebbae02ec565a4194517b94a98b752c592 /rules.js | |
parent | 50ab3e193b1f5d3aa253948b6878b6b99826995f (diff) | |
download | wilderness-war-ca9dd7a2749b728349ec753bca6534d3ea33b466.tar.gz |
Fix lint issues.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -9368,9 +9368,6 @@ exports.setup = function (seed, scenario, options) { log: [], }) - if (false) - delete game.summary - switch (scenario) { default: // fallthrough @@ -9670,9 +9667,7 @@ exports.view = function(state, current) { } else { states[game.state].prompt() if (game.active === game.phasing) { - if (game.state !== 'demolish_fort' && - game.state !== 'demolish_stockade' && - game.state !== 'demolish_fieldworks') + if (game.state !== 'demolish_fort' && game.state !== 'demolish_stockade' && game.state !== 'demolish_fieldworks') gen_action_demolish() } gen_action_undo() |