From d7d82e5807dca189d58cea708281d154c5a435f0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 17 Jan 2023 12:08:53 +0100 Subject: Fix conquering castles. --- rules.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules.js b/rules.js index 13ceba4..e60f64f 100644 --- a/rules.js +++ b/rules.js @@ -8204,6 +8204,9 @@ function goto_sack() { log(`Sacked %${here}.`) + if (has_friendly_castle(here)) + flip_castle(here) + remove_all_siege_markers(game.battle.where) add_conquered_marker(game.battle.where) remove_walls(game.battle.where) -- cgit v1.2.3