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:
parent
287f0f2dcf
commit
0fcc99d9a3
1 changed files with 0 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Reference in a new issue