From e1130a105f00299b45c7b8ce07cfe58b40bf878c Mon Sep 17 00:00:00 2001 From: cora Date: Wed, 20 Jul 2022 12:27:29 +0200 Subject: [PATCH] fix wrong sound position --- mods/ENTITIES/mcl_dripping/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_dripping/init.lua b/mods/ENTITIES/mcl_dripping/init.lua index 96bc0b8394..0a5b3d08c5 100644 --- a/mods/ENTITIES/mcl_dripping/init.lua +++ b/mods/ENTITIES/mcl_dripping/init.lua @@ -23,7 +23,7 @@ local function make_drop(pos,liquid,sound,interval) pt.collisiondetection = true pt.expirationtime = math.random() + math.random(1, interval/2) 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