1
0
Fork 0

startup.nas: just check for a valid METAR

and don't care if it's from realwx or static input. There is still
a timing issue, probably we should wait for a valid METAR
if realwx is enabled.
This commit is contained in:
Torsten Dreyer 2010-10-07 17:59:38 +02:00
parent 287f0f2dcf
commit 0fcc99d9a3

View file

@ -1,6 +1,4 @@
var set_runway_from_metar_wind = func {
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"))