From 2160ae40cda1b0e0febf528bcd2745bfc64f9589 Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Sun, 10 Jun 2018 23:49:54 +0300 Subject: sound pos fix --- technic/tools/spray_painter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/tools/spray_painter.lua b/technic/tools/spray_painter.lua index 41b8a6a..4415b84 100644 --- a/technic/tools/spray_painter.lua +++ b/technic/tools/spray_painter.lua @@ -85,7 +85,7 @@ local function spray_paint(itemstack, user, pointed_thing) end minetest.sound_play("technic_spray_painter", { - pos = pos, + pos = user:get_pos(), gain = 0.4, }) -- cgit v1.2.3