Point - BRAANATO (#1969) (#1970)

corrected Track to be direction of travel of bogey (self in this case)
This commit is contained in:
Thomas 2023-06-26 13:29:34 +02:00 committed by GitHub
parent 248228720e
commit 0dab316514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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