use a more reliable property to detect real-weather-fetch
This commit is contained in:
parent
8fc95fdde1
commit
305cac01f3
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
var set_runway_from_metar_wind = func {
|
||||
if (!getprop("/environment/metar/real-metar"))
|
||||
if (!getprop("/environment/params/real-world-weather-fetch"))
|
||||
return printlog("info", "metar-rwy: no live weather");
|
||||
if (!getprop("/sim/startup/options/airport"))
|
||||
return printlog("info", "metar-rwy: no airport requested");
|
||||
|
|
Loading…
Reference in a new issue