Browse Source

Added debug code

bugfix-destbane
MagicBot 4 months ago
parent
commit
67c840c42c
  1. 2
      src/engine/objects/Building.java
  2. 2
      src/engine/workthreads/DestroyCityThread.java

2
src/engine/objects/Building.java

@ -602,6 +602,8 @@ public class Building extends AbstractWorldObject {
return; return;
} }
city.destroyed.set(true);
// 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) {

2
src/engine/workthreads/DestroyCityThread.java

@ -51,8 +51,6 @@ public class DestroyCityThread implements Runnable {
Vector3fImmutable localCoords; Vector3fImmutable localCoords;
ArrayList<Guild> subGuildList; ArrayList<Guild> subGuildList;
city.destroyed.set(true);
// Member variable assignment // Member variable assignment
cityZone = city.getParent(); cityZone = city.getParent();

Loading…
Cancel
Save