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 {
return; 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 // Must remove a bane before considering destruction of a TOL
if (bane != null) { if (bane != null) {

Loading…
Cancel
Save