Fade out rain and fire sounds
This commit is contained in:
parent
aced401c6c
commit
ed336829b4
2 changed files with 3 additions and 3 deletions
|
@ -217,7 +217,7 @@ if flame_sound then
|
|||
(num["mcl_fire:eternal_fire"] or 0)
|
||||
-- Stop previous sound
|
||||
if handles[player_name] then
|
||||
minetest.sound_stop(handles[player_name])
|
||||
minetest.sound_fade(handles[player_name], -0.4, 0.0)
|
||||
handles[player_name] = nil
|
||||
end
|
||||
-- If flames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue