diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index b261d266..16a981f5 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -581,7 +581,8 @@ public class Mine extends AbstractGameObject { building.isDeranking.compareAndSet(true, false); if(isAc) { - Thread zergMechanicThread = new Thread(new ZergMechanicThread(null, this)); + Thread zergMechanicThread; + zergMechanicThread = new Thread(new ZergMechanicThread(null, this)); zergMechanicThread.setName(this.parentZone.getName() + "Mine"); zergMechanicThread.start(); }