summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 68f537b..beca253 100644
--- a/rules.js
+++ b/rules.js
@@ -4846,7 +4846,8 @@ function avoid_battle_2() {
log(`Avoided Battle to %${to}.`)
for (let lord of game.group) {
- set_add(game.march.ambush_lords, lord)
+ if (game.march.ambush_lords)
+ set_add(game.march.ambush_lords, lord)
set_lord_locale(lord, to)
set_lord_moved(lord, 1)
}