summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
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) {