1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-23 00:10:25 +01:00

fix positionnal sound don't work to player when teleport to nether

This commit is contained in:
crabman77 2015-09-05 23:59:37 +02:00
parent d0d8b5ccb7
commit 9fdf469de2

View File

@ -530,6 +530,7 @@ function nether_port(player, pos)
if not netherport(pos) then
return
end
minetest.sound_play("nether_teleporter", {to_player=player:get_player_name()}) --MFF crabman (5/09/2015) fix positional sound don't work to player
minetest.sound_play("nether_teleporter", {pos=pos})
if pos.y < nether.start then
player_from_nether(player)