buildings cannot be deleted if the city is under siege

This commit is contained in:
2024-05-21 14:23:59 -05:00
parent 77f2e413c9
commit f80d50f95e
@@ -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;
}