Fix rain sky not removed after /weather none

This commit is contained in:
Wuzzy 2017-02-21 14:44:04 +01:00
parent fcc8189342
commit ae023dfe1f

View file

@ -150,6 +150,7 @@ rain.make_weather = function()
if rain.init_done == false then if rain.init_done == false then
rain.raining = true rain.raining = true
rain.set_sky_box() rain.set_sky_box()
rain.init_done = true
end end
for _, player in ipairs(minetest.get_connected_players()) do for _, player in ipairs(minetest.get_connected_players()) do