From aa5e87dbf6d2c1bfb66199c8e9749203f0248fef Mon Sep 17 00:00:00 2001 From: Robbie Ferguson Date: Fri, 13 May 2016 17:36:35 -0400 Subject: [PATCH] Improve sound. --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index e90e514..ac9b2c6 100644 --- a/init.lua +++ b/init.lua @@ -128,7 +128,7 @@ local function tpc_send(player,coordinates) if minetest.check_player_privs(pname, {tp_admin=true}) then minetest.chat_send_player(player, 'Teleporting to '..posx..','..posy..','..posz) pname:setpos(find_free_position_near(target_coords)) - minetest.sound_play("tps_portal", {pos = target_coords, gain = 1.0, max_hear_distance = 10}) + minetest.sound_play("whoosh", {pos = target_coords, gain = 0.5, to_player=player, max_hear_distance = 10}) parti2(target_coords) else local protected = minetest.is_protected(target_coords,pname)