Windows join sound

This commit is contained in:
Lizzy Fleckenstein 2022-01-28 19:21:51 +01:00
parent 49b4619d27
commit 8f9a582b05
Signed by: LizzyFleckenstein03
GPG Key ID: 06927A5199D6C9B2
2 changed files with 4 additions and 0 deletions

View File

@ -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)