From 5e63b89f4f5d101e70bc902b3ba118407225211e Mon Sep 17 00:00:00 2001 From: BlackDeluxeCat <65377021+BlackDeluxeCat@users.noreply.github.com> Date: Wed, 10 Aug 2022 20:06:12 +0800 Subject: [PATCH] Fixed ucontrol approach not applied to ground units (#7340) --- core/src/mindustry/ai/types/LogicAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ai/types/LogicAI.java b/core/src/mindustry/ai/types/LogicAI.java index 50994efced..64129d1ec7 100644 --- a/core/src/mindustry/ai/types/LogicAI.java +++ b/core/src/mindustry/ai/types/LogicAI.java @@ -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();