forked from mtcontrib/weather_pack
fix sky reset on second appearance
This commit is contained in:
parent
5dec942f77
commit
e0de4f31e5
@ -143,6 +143,7 @@ end
|
||||
-- callback function for removing rain
|
||||
rain.clear = function()
|
||||
rain.raining = false
|
||||
rain.sky_last_update = -1
|
||||
for _, player in ipairs(minetest.get_connected_players()) do
|
||||
rain.remove_sound(player)
|
||||
rain.remove_player(player)
|
||||
|
Loading…
Reference in New Issue
Block a user