Fix another rain sound update bug

Wuzzy 2017-11-24 04:21:10 +01:00
parent 2858fbb54a
commit f8d5c23291

@ -144,6 +144,7 @@ mcl_weather.rain.remove_sound = function(player)
if player_meta ~= nil and player_meta.sound_handler ~= nil then if player_meta ~= nil and player_meta.sound_handler ~= nil then
minetest.sound_stop(player_meta.sound_handler) minetest.sound_stop(player_meta.sound_handler)
player_meta.sound_handler = nil player_meta.sound_handler = nil
player_meta.sound_updated = nil
end end
end end