1
0
Fork 0

use a more reliable property to detect real-weather-fetch

This commit is contained in:
mfranz 2008-12-19 13:50:44 +00:00
parent 8fc95fdde1
commit 305cac01f3

View file

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