summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 4a13e90..6a40f69 100644
--- a/rules.js
+++ b/rules.js
@@ -5515,7 +5515,7 @@ states.retreat_all_defenders_to = {
function end_retreat() {
set_active(game.battle.attacker);
if (game.battle.overrun) {
- end_move_step(false, overrun);
+ end_move_step(false, true);
} else {
end_move_step(true);
}