fix leaked global variable

This commit is contained in:
bell07
2018-05-22 22:34:37 +02:00
committed by GitHub
parent 5d8bf1ae1c
commit eecf3c5524

View File

@ -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