forked from mtcontrib/weather_pack
fix leaked global variable
This commit is contained in:
parent
5d8bf1ae1c
commit
eecf3c5524
@ -226,7 +226,7 @@ core.update_sky_details = function(player, sky_layer)
|
||||
end
|
||||
|
||||
core.update_clouds_details = function(player, sky_layer)
|
||||
clouds_data = sky_layer.clouds_data
|
||||
local clouds_data = sky_layer.clouds_data
|
||||
|
||||
if clouds_data == nil then
|
||||
if sky_layer.reset_defaults == true then
|
||||
|
Loading…
Reference in New Issue
Block a user