mirror of
https://gitlab.com/rautars/weather_pack.git
synced 2025-07-29 19:30:20 +02:00
fix leaked global variable
This commit is contained in:
@ -226,7 +226,7 @@ core.update_sky_details = function(player, sky_layer)
|
|||||||
end
|
end
|
||||||
|
|
||||||
core.update_clouds_details = function(player, sky_layer)
|
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 clouds_data == nil then
|
||||||
if sky_layer.reset_defaults == true then
|
if sky_layer.reset_defaults == true then
|
||||||
|
Reference in New Issue
Block a user