mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-01 02:14:27 +07:00
Fixed ucontrol approach not applied to ground units (#7340)
This commit is contained in:
parent
592e4b2f29
commit
5e63b89f4f
@ -60,7 +60,7 @@ public class LogicAI extends AIController{
|
||||
moveTo(Tmp.v1.set(moveX, moveY), 1f, 30f);
|
||||
}
|
||||
case approach -> {
|
||||
moveTo(Tmp.v1.set(moveX, moveY), moveRad - 7f, 7);
|
||||
moveTo(Tmp.v1.set(moveX, moveY), moveRad - 7f, 7, true, null);
|
||||
}
|
||||
case stop -> {
|
||||
unit.clearBuilding();
|
||||
|
Loading…
Reference in New Issue
Block a user