1
0
Fork 0

Weather dialog: stop resetting weather when Detailed Weather has been loaded but disabled (fix for Issue 1 in https://sourceforge.net/p/flightgear/codetickets/2486/)

This commit is contained in:
Michael Danilov 2021-08-19 02:31:04 +02:00
parent 212f8fdab9
commit d4dfafaac7

View file

@ -167,7 +167,7 @@
}
# Clear any local weather that might be running
if (getprop("/nasal/local_weather/loaded")) local_weather.clear_all();
if (getprop("/nasal/local_weather/enabled")) local_weather.clear_all();
setprop("/nasal/local_weather/enabled", "false");
if (local_weather_enabled) {