From fa163d2a42b85d920c6f6a8196c1600548eb751b Mon Sep 17 00:00:00 2001 From: Thomas <72444570+Applevangelist@users.noreply.github.com> Date: Tue, 10 Feb 2026 15:33:24 +0100 Subject: [PATCH] Update Utils.lua #UTILS Small fix --- Moose Development/Moose/Utilities/Utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Utilities/Utils.lua b/Moose Development/Moose/Utilities/Utils.lua index 53f5e8e04..02a344198 100644 --- a/Moose Development/Moose/Utilities/Utils.lua +++ b/Moose Development/Moose/Utilities/Utils.lua @@ -5521,7 +5521,7 @@ end function UTILS.CalculateInterceptBearing(A1, V1, A2, V2_speed) local function berechne_bearing(richtung) - local bearing = math.deg(math.atan2(richtung.x, richtung.y)) + local bearing = math.deg(math.atan2(richtung.x, richtung.z)) if bearing < 0 then bearing = bearing + 360 end