From ea2b196f5d1253f3a5c2dda9dbddaf4d03d2c5ef Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 9 Oct 2023 23:02:22 +0200 Subject: fix wrong function name --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- cgit v1.2.3