Browse Source

Added debug code

bugfix-destbane
MagicBot 3 months ago
parent
commit
062fef49a1
  1. 5
      src/engine/objects/Building.java

5
src/engine/objects/Building.java

@ -597,6 +597,11 @@ public class Building extends AbstractWorldObject { @@ -597,6 +597,11 @@ public class Building extends AbstractWorldObject {
return;
}
if (city.destroyed.get() == true) {
Logger.error(city.getName() + "attemp to destroy a destroyed city");
return;
}
// Must remove a bane before considering destruction of a TOL
if (bane != null) {

Loading…
Cancel
Save