From a978420a67208a825f481d1e544892ce1d0ea6bc Mon Sep 17 00:00:00 2001 From: Thomas <72444570+Applevangelist@users.noreply.github.com> Date: Mon, 26 Jun 2023 13:25:23 +0200 Subject: [PATCH] Point - BRAANATO (#1969) corrected Track to be direction of travel of bogey (self in this case) --- Moose Development/Moose/Core/Point.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Core/Point.lua b/Moose Development/Moose/Core/Point.lua index d942e49ba..e699af694 100644 --- a/Moose Development/Moose/Core/Point.lua +++ b/Moose Development/Moose/Core/Point.lua @@ -2944,8 +2944,13 @@ do -- COORDINATE if alt < 1 then alttext = "very low" end - - local track = UTILS.BearingToCardinal(bearing) or "North" + + -- corrected Track to be direction of travel of bogey (self in this case) + local track = "Maneuver" + + if self.Heading then + track = UTILS.BearingToCardinal(self.Heading) or "North" + end if rangeNM > 3 then if SSML then -- google says "oh" instead of zero, be aware