summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 1d3301c..c59d172 100644
--- a/rules.js
+++ b/rules.js
@@ -5549,6 +5549,8 @@ states.retreat_all_defenders_to = {
}
}
});
+ if (!can_all_defenders_retreat_from(from))
+ done = true;
if (done)
game.state = 'retreat_defender';
},