From 327bc466cda87ce8741401f96a2f7a0d62f44769 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 24 May 2024 13:42:17 +0200 Subject: lint --- rules.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index b3553f3..510f66f 100644 --- a/rules.js +++ b/rules.js @@ -2070,7 +2070,6 @@ function set_active_winner() { function goto_retreat() { let hits = Math.abs(game.count) - let winner = get_winner() let loser = get_loser() // no more fighting for the loser @@ -2079,7 +2078,6 @@ function goto_retreat() { array_remove_pair(game.combat, i) log("P" + get_supreme_commander(loser) + " lost " + hits + " troops.") - log(game.selected.map(x=>"P"+x).join(" ")) // apply hits for (let i = game.selected.length - 1; i >= 0 && hits > 0; --i) { -- cgit v1.2.3