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 { @@ -602,6 +602,8 @@ public class Building extends AbstractWorldObject {
return;
}
city.destroyed.set(true);
// Must remove a bane before considering destruction of a TOL
if (bane != null) {

2
src/engine/workthreads/DestroyCityThread.java

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

Loading…
Cancel
Save