mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#AIRBASE
* Small workaround for Beirut runways * ATIS minor fix
This commit is contained in:
parent
dcd4d0ab62
commit
08f2c29014
@ -700,7 +700,7 @@ ATIS.Messages = {
|
|||||||
EN =
|
EN =
|
||||||
{
|
{
|
||||||
HOURS = "hours",
|
HOURS = "hours",
|
||||||
TIME = "hours",
|
TIME = "Hours",
|
||||||
NOCLOUDINFO = "Cloud coverage information not available",
|
NOCLOUDINFO = "Cloud coverage information not available",
|
||||||
OVERCAST = "Overcast",
|
OVERCAST = "Overcast",
|
||||||
BROKEN = "Broken clouds",
|
BROKEN = "Broken clouds",
|
||||||
|
|||||||
@ -1900,7 +1900,16 @@ function AIRBASE:_InitRunways(IncludeInverse)
|
|||||||
|
|
||||||
-- Data table.
|
-- Data table.
|
||||||
local runway={} --#AIRBASE.Runway
|
local runway={} --#AIRBASE.Runway
|
||||||
|
|
||||||
|
local namefromheading = math.floor(heading/10)
|
||||||
|
|
||||||
|
if self.AirbaseName == AIRBASE.Syria.Beirut_Rafic_Hariri and math.abs(namefromheading-name) > 1 then
|
||||||
|
runway.name=string.format("%02d", tonumber(namefromheading))
|
||||||
|
else
|
||||||
runway.name=string.format("%02d", tonumber(name))
|
runway.name=string.format("%02d", tonumber(name))
|
||||||
|
end
|
||||||
|
|
||||||
|
--runway.name=string.format("%02d", tonumber(name))
|
||||||
runway.magheading=tonumber(runway.name)*10
|
runway.magheading=tonumber(runway.name)*10
|
||||||
runway.heading=heading
|
runway.heading=heading
|
||||||
runway.width=width or 0
|
runway.width=width or 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user