mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-06 13:07:33 +01:00
Missed an instance of new sound
This commit is contained in:
parent
aa5e87dbf6
commit
0b5fd2ca98
2
init.lua
2
init.lua
@ -141,7 +141,7 @@ local function tpc_send(player,coordinates)
|
||||
end
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user