Added debug code

This commit is contained in:
2024-08-24 18:01:16 -04:00
parent bb23e761cd
commit 062fef49a1
+5
View File
@@ -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) {