summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-09-03 17:02:46 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 13:11:27 +0100
commit5f3205f345511f3fec8d404db89c677e0e4aaa86 (patch)
tree9dd59b13a33fb41df4777de19b07135c0c9452d6
parent4b1373063559ec4794506d0e0cd623da64b25fa3 (diff)
downloadrommel-in-the-desert-5f3205f345511f3fec8d404db89c677e0e4aaa86.tar.gz
Fix retreat bug.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 776a2b2..ec67f1e 100644
--- a/rules.js
+++ b/rules.js
@@ -4202,6 +4202,7 @@ function end_retreat() {
}
function end_retreat_2() {
+ game.retreat = 0
if (can_select_retreat_hex())
game.state = 'retreat_from'
else