From f80d50f95e5e457c24e9d4fb0e8d20d6c2f1ff89 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 21 May 2024 14:23:59 -0500 Subject: [PATCH] buildings cannot be deleted if the city is under siege --- src/engine/net/client/handlers/DestroyBuildingHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/DestroyBuildingHandler.java b/src/engine/net/client/handlers/DestroyBuildingHandler.java index 18ce4d05..d25f40cf 100644 --- a/src/engine/net/client/handlers/DestroyBuildingHandler.java +++ b/src/engine/net/client/handlers/DestroyBuildingHandler.java @@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { if (city != null) bane = city.getBane(); - if (bane != null && bane.getSiegePhase() == Enum.SiegePhase.WAR) { + if (bane != null) { ErrorPopupMsg.sendErrorPopup(pc, 171); return true; }