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:
parent
212f8fdab9
commit
d4dfafaac7
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue