Browse Source

Owner set to null

bane-update2
MagicBot 4 months ago
parent
commit
d304d0706c
  1. 2
      src/engine/workthreads/DestroyCityThread.java

2
src/engine/workthreads/DestroyCityThread.java

@ -143,6 +143,8 @@ public class DestroyCityThread implements Runnable { @@ -143,6 +143,8 @@ public class DestroyCityThread implements Runnable {
city.realm = null;
}
city.getTOL().setOwner(null);
// It's now safe to delete the city zone from the database
// which will cause a cascade delete of everything else

Loading…
Cancel
Save