Browse Source

buildings cannot be deleted if the city is under siege

lakebane-master
FatBoy-DOTC 6 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 {
if (city != null) if (city != null)
bane = city.getBane(); bane = city.getBane();
if (bane != null && bane.getSiegePhase() == Enum.SiegePhase.WAR) { if (bane != null) {
ErrorPopupMsg.sendErrorPopup(pc, 171); ErrorPopupMsg.sendErrorPopup(pc, 171);
return true; return true;
} }

Loading…
Cancel
Save