mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
fix wrong sound position
This commit is contained in:
parent
cae53a8230
commit
e1130a105f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ local function make_drop(pos,liquid,sound,interval)
|
||||||
pt.collisiondetection = true
|
pt.collisiondetection = true
|
||||||
pt.expirationtime = math.random() + math.random(1, interval/2)
|
pt.expirationtime = math.random() + math.random(1, interval/2)
|
||||||
minetest.add_particle(pt)
|
minetest.add_particle(pt)
|
||||||
minetest.sound_play({name = "drippingwater_" .. sound .. "drip"}, {pos = ownpos, gain = 0.5, max_hear_distance = 8}, true)
|
minetest.sound_play({name = "drippingwater_" .. sound .. "drip"}, {pos = pos, gain = 0.5, max_hear_distance = 8}, true)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue