summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-06-29 01:52:15 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:19:39 +0100
commit0018176ba5065652f50af30fd810e7b49311d925 (patch)
treefd7a09c36b4538ab9485e8fafd94205293d114c1
parent2f263f9f4ef7521cf246e228a573297569c953b3 (diff)
downloadcrusader-rex-0018176ba5065652f50af30fd810e7b49311d925.tar.gz
crusader: Clear 'moved' flag on retreat before combat.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 85cb012..19c9901 100644
--- a/rules.js
+++ b/rules.js
@@ -2403,6 +2403,7 @@ function sally_with_block(who) {
function goto_retreat_after_combat() {
console.log("RETREAT AFTER COMBAT");
+ game.moved = {};
// withdraw all sallying blocks to castle.
for (let b of game.sallying)