From b2e960a038ee5547e6c2a320b5797e7972212157 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 10 Sep 2022 15:06:20 -0400 Subject: [PATCH] Minor smooth movement tweak --- core/src/mindustry/ai/types/CommandAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ai/types/CommandAI.java b/core/src/mindustry/ai/types/CommandAI.java index 3b60a7785f..742038a860 100644 --- a/core/src/mindustry/ai/types/CommandAI.java +++ b/core/src/mindustry/ai/types/CommandAI.java @@ -127,7 +127,7 @@ public class CommandAI extends AIController{ attackTarget != null && unit.within(attackTarget, engageRange) ? engageRange : unit.isGrounded() ? 0f : attackTarget != null ? engageRange : - 0f, unit.isFlying() ? 40f : 100f, false, null, targetPos.epsilonEquals(vecOut, 1f)); + 0f, unit.isFlying() ? 40f : 100f, false, null, targetPos.epsilonEquals(vecOut, 4.1f)); } }