summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-09-15 13:35:37 +0200
committerTor Andersson <tor@ccxvii.net>2024-09-15 13:35:37 +0200
commit5d68fec770a45ff2a3ac59306b6e01354879b0b9 (patch)
tree49c3d8cf08292591785311bfb501b97db594fdb6
parent04d85983415350bb9274b797f2465181efd5009e (diff)
downloadwilderness-war-5d68fec770a45ff2a3ac59306b6e01354879b0b9.tar.gz
Delete battle state when ending militia vs raider battles.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 51f7bec..2110736 100644
--- a/rules.js
+++ b/rules.js
@@ -5346,6 +5346,7 @@ function determine_winner_battle() {
end_retreat_attacker(game.raid.from[game.raid.where])
}
}
+ delete game.battle
return
}