From 2d65ce8ce10a939a06355ab1ccfeba6c19cd64f7 Mon Sep 17 00:00:00 2001 From: JappaWakka Date: Wed, 24 Apr 2024 18:31:02 +0200 Subject: [PATCH] Hopefully fix the regionweather changing later --- P3D/World/ActionScript/V2/ScriptCommands/DoEnvironment.vb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/P3D/World/ActionScript/V2/ScriptCommands/DoEnvironment.vb b/P3D/World/ActionScript/V2/ScriptCommands/DoEnvironment.vb index 19b850990..cb007bacf 100644 --- a/P3D/World/ActionScript/V2/ScriptCommands/DoEnvironment.vb +++ b/P3D/World/ActionScript/V2/ScriptCommands/DoEnvironment.vb @@ -15,8 +15,10 @@ Screen.Level.WeatherType = int(argument) Case "setregionweather" World.RegionWeather = CType(int(argument), World.Weathers) + World.RegionWeatherSet = True Case "resetregionweather" World.RegionWeather = World.GetRegionWeather(World.CurrentSeason) + World.RegionWeatherSet = False Case "setseason" If int(argument) = -1 Then World.setSeason = Nothing