mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 20:48:33 +07:00
Crash fix
This commit is contained in:
parent
cf44efa02e
commit
f0e3a3a30c
@ -113,6 +113,8 @@ public class Drone extends FlyingUnit implements BuilderTrait{
|
||||
}
|
||||
});
|
||||
|
||||
if(target == null) return;
|
||||
|
||||
if(target.distanceTo(Drone.this) > type.range){
|
||||
circle(type.range*0.9f);
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user