1
0
Fork 0

Merge pull request 'mcl_dripping: Fix wrong sound position' (#2471) from dripping_particles into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2471
Reviewed-by: MysticTempest <mystictempest@noreply.git.minetest.land>
wood_api
cora 2022-07-21 10:05:57 +00:00
commit 69d1c26a15
1 changed files with 1 additions and 1 deletions

View File

@ -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