Fix rain sound not restarting
parent
56e35f6b4b
commit
f7dc0a57c9
|
@ -55,6 +55,7 @@ local weather_effects = function(player,defined_type)
|
|||
minetest.sound_fade(rain_sound_handle, 0.5, 1)
|
||||
elseif curr_light < 15 and rain_sound_handle then
|
||||
minetest.sound_fade(rain_sound_handle, -0.5, 0)
|
||||
rain_sound_handle = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue