diff --git a/client/weather.lua b/client/weather.lua index 5db11b1..fdedfbf 100644 --- a/client/weather.lua +++ b/client/weather.lua @@ -88,7 +88,6 @@ CreateThread(function () while not NetworkIsSessionStarted() do -- Possible fix for slow clients Wait(100) end - SetWind(0.1) WaterOverrideSetStrength(0.5) @@ -96,6 +95,13 @@ CreateThread(function () playerState.syncWeather = true playerState.playerWeather = 'EXTRASUNNY' + + -- set blackout to the same state as server has + if type(GlobalState.blackout) == 'boolean' then + SetArtificialLightsState(GlobalState.blackout) + end + + SetArtificialLightsStateAffectsVehicles(false) end) AddStateBagChangeHandler('syncWeather', ('player:%s'):format(cache.serverId), function(_, _, value)