1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-11-14 14:30:41 +01:00

Shields: Fix positional sound effects

This commit is contained in:
stujones11 2018-05-13 16:31:51 +01:00
parent c36b1e5fc4
commit 601fee1079

View File

@ -13,9 +13,8 @@ local function play_sound_effect(player, name)
if player then
local pos = player:getpos()
if pos then
minetest.sound_play({
minetest.sound_play(name, {
pos = pos,
name = name,
max_hear_distance = 10,
gain = 0.5,
})