Windows join sound
This commit is contained in:
parent
49b4619d27
commit
8f9a582b05
|
@ -166,3 +166,7 @@ minetest.register_on_dieplayer(function(player)
|
|||
-- TODO: Add separate death sound
|
||||
minetest.sound_play({name="player_damage", gain = 1.0}, {pos=player:get_pos(), max_hear_distance=16}, true)
|
||||
end)
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
minetest.sound_play("shutdown", {to_player = player:get_player_name()})
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue