From ca9dd7a2749b728349ec753bca6534d3ea33b466 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 13 Jul 2022 15:36:46 +0200 Subject: Fix lint issues. --- rules.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b0ecff2..bd7d4cd 100644 --- a/rules.js +++ b/rules.js @@ -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() -- cgit v1.2.3