Point - BRAANATO (#1969)

corrected Track to be direction of travel of bogey (self in this case)
This commit is contained in:
Thomas
2023-06-26 13:25:23 +02:00
committed by GitHub
parent f59326bf10
commit a978420a67

View File

@@ -2945,7 +2945,12 @@ do -- COORDINATE
alttext = "very low" alttext = "very low"
end 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 rangeNM > 3 then
if SSML then -- google says "oh" instead of zero, be aware if SSML then -- google says "oh" instead of zero, be aware