From f9688a1dfcdfd7dc4c061c8682942d2ea8a27dc8 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 8 Feb 2023 16:48:29 +0100 Subject: Fix Withdraw with lower lord. --- rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 5515fef..6d64554 100644 --- a/rules.js +++ b/rules.js @@ -5166,7 +5166,7 @@ states.march_withdraw = { if (lower !== NOBODY) { log(`L${lower} Withdrew.`) - set_lord_besieged(lord, 1) + set_lord_besieged(lower, 1) } }, end_withdraw() { @@ -9300,7 +9300,7 @@ states.battle_withdraw = { if (lower !== NOBODY) { log(`L${lower} Withdrew.`) - set_lord_besieged(lord, 1) + set_lord_besieged(lower, 1) } }, end_withdraw() { -- cgit v1.2.3