summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b416f5f..f988779 100644
--- a/rules.js
+++ b/rules.js
@@ -2053,7 +2053,7 @@ function goto_retreat() {
}
// remove eliminated generals
- for (let i = game.selected.length - 1; i >= 0 && hits > 0; --i) {
+ for (let i = game.selected.length - 1; i >= 0; --i) {
let p = game.selected[i]
if (game.troops[p] === 0) {
log("P" + p + " eliminated.")