diff --git a/Nasal/local_weather/compat_layer.nas b/Nasal/local_weather/compat_layer.nas index e2af36f4c..5136624d3 100644 --- a/Nasal/local_weather/compat_layer.nas +++ b/Nasal/local_weather/compat_layer.nas @@ -119,6 +119,11 @@ print("* can disable global weather: "~result); print("Compatibility layer: tests done."); + +# do actual startup() +local_weather.updateMenu(); +local_weather.startup(); + }); diff --git a/Nasal/local_weather/local_weather.nas b/Nasal/local_weather/local_weather.nas index 4934603b3..7004013c3 100644 --- a/Nasal/local_weather/local_weather.nas +++ b/Nasal/local_weather/local_weather.nas @@ -4621,10 +4621,4 @@ var updateMenu = func { _setlistener("/nasal/local_weather/enabled", updateMenu); -# wait for Nasal to be available and do what is in startup() - -_setlistener("/nasal/local_weather/loaded", func { - updateMenu(); - startup(); -}); diff --git a/Translations/strings-default.xml b/Translations/strings-default.xml index 8a444eb75..ab9cbae72 100644 --- a/Translations/strings-default.xml +++ b/Translations/strings-default.xml @@ -100,6 +100,7 @@ Enable AI subsystem (required for multi-player, AI traffic and many other animations) Disable artificial traffic. Enable artificial traffic. + Disable all AI scenarios. Add and enable a new scenario. Multiple options are allowed. Start in a running state Start in a frozen state diff --git a/options.xml b/options.xml index 8d12e210e..4302b6421 100644 --- a/options.xml +++ b/options.xml @@ -78,11 +78,11 @@ + fg-aircraft + path + strings/fg-aircraft-desc + + + +