1
0
Fork 0

reflect recent weather changes in startup.nas

This commit is contained in:
Torsten Dreyer 2010-09-26 17:07:24 +02:00
parent 5d2845a540
commit 5edf6cae9b

View file

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