summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-09 23:02:22 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commitea2b196f5d1253f3a5c2dda9dbddaf4d03d2c5ef (patch)
tree7e95716d72cb0669adeae92fb83c199f74d6b5ce /rules.js
parent4092bbe6ed55bd05c311eb33d07384594461793a (diff)
downloadplantagenet-ea2b196f5d1253f3a5c2dda9dbddaf4d03d2c5ef.tar.gz
fix wrong function name
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 89fe243..aad1e19 100644
--- a/rules.js
+++ b/rules.js
@@ -5536,7 +5536,7 @@ function continue_engagement() {
for (let pos of battle_strike_positions) {
let lord = game.battle.array[pos]
if (lord !== NOBODY)
- if (will_rout_lord(lord))
+ if (will_lord_rout(lord))
rout_lord(lord)
}