From dbb17b7f21dfe029a3835ca72150b6b35e3aa91b Mon Sep 17 00:00:00 2001 From: Anuken Date: Wed, 17 Apr 2024 22:31:50 -0400 Subject: [PATCH] Reduced turning margin --- core/src/mindustry/ai/HierarchyPathFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ai/HierarchyPathFinder.java b/core/src/mindustry/ai/HierarchyPathFinder.java index e120bfefd2..dce60a10a4 100644 --- a/core/src/mindustry/ai/HierarchyPathFinder.java +++ b/core/src/mindustry/ai/HierarchyPathFinder.java @@ -1059,7 +1059,7 @@ public class HierarchyPathFinder implements Runnable{ boolean recalc = false; unit.hitboxTile(Tmp.r3); //tile rect size has tile size factored in, since the ray cannot have thickness - float tileRectSize = tilesize + Tmp.r3.height; + float tileRectSize = tilesize + Tmp.r3.height - 0.1f; //TODO last pos can change if the flowfield changes. if(initialTileOn.pos() != request.lastTile || request.lastTargetTile == null){