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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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