mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 22:12:16 -08:00
Fixed broken pathfinding start
This commit is contained in:
parent
456167bd94
commit
b4068f2a74
1 changed files with 1 additions and 2 deletions
|
|
@ -385,8 +385,7 @@ public class ControlPathfinder implements Runnable{
|
|||
|
||||
/** Starts or restarts the pathfinding thread. */
|
||||
private void start(){
|
||||
stop();
|
||||
if(net.client()) return;
|
||||
if(net.client() || thread != null) return;
|
||||
|
||||
thread = new Thread(this, "Control Pathfinder");
|
||||
thread.setPriority(Thread.MIN_PRIORITY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue