summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-14 20:55:38 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:18 +0100
commit72750321e47f6c6f447efec09220dd4ae94d9f57 (patch)
treee327067fdbc424318f2088aa4b945efa341c48c5
parentf25e26904ade3e0ec4711d50935b3999e6b92746 (diff)
downloadhammer-of-the-scots-72750321e47f6c6f447efec09220dd4ae94d9f57.tar.gz
Print retreat summary when battle ends too!
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index bc0de4e..58f3a5b 100644
--- a/rules.js
+++ b/rules.js
@@ -1665,6 +1665,8 @@ function start_battle(where, reason) {
}
function end_battle() {
+ print_retreat_summary()
+
game.flash = ""
game.battle_round = 0
reset_border_limits()