Browse Source

buildings cannot be deleted if the city is under siege

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
f80d50f95e
  1. 2
      src/engine/net/client/handlers/DestroyBuildingHandler.java

2
src/engine/net/client/handlers/DestroyBuildingHandler.java

@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { @@ -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;
}

Loading…
Cancel
Save