Merge pull request #10 from bell07/patch-1

fix leaked global variable
This commit is contained in:
Artūras 2018-05-22 23:36:13 +03:00 committed by GitHub
commit 28744a162f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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