reflect recent weather changes in startup.nas
This commit is contained in:
parent
5d2845a540
commit
5edf6cae9b
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
var set_runway_from_metar_wind = func {
|
||||
if (!getprop("/environment/params/real-world-weather-fetch"))
|
||||
if (!getprop("/environment/realwx/enabled"))
|
||||
return printlog("info", "metar-rwy: no live weather");
|
||||
if (!getprop("/environment/metar/valid"))
|
||||
return printlog("info", "metar-rwy: no valid metar");
|
||||
if (!getprop("/sim/startup/options/airport"))
|
||||
return printlog("info", "metar-rwy: no airport requested");
|
||||
if (getprop("/sim/startup/options/runway"))
|
||||
|
|
Loading…
Add table
Reference in a new issue