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

master
crabman77 2015-09-05 23:59:37 +02:00
parent 9d89df1512
commit 8b2c49ad3a
1 changed files with 1 additions and 0 deletions

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)