1
0
mirror of https://gitlab.com/rautars/weather_pack.git synced 2025-01-09 16:00:19 +01:00

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

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