summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-v-smacker <hans-von-smacker+github@gmail.com>2018-06-10 23:49:54 +0300
committerh-v-smacker <hans-von-smacker+github@gmail.com>2018-06-10 23:49:54 +0300
commit2160ae40cda1b0e0febf528bcd2745bfc64f9589 (patch)
treef97db6fb761e0aa0eda86b23dc060968542c8e5b
parent7029fecfbb33b9a2c786ce783605ddf26ad30536 (diff)
sound pos fix
-rw-r--r--technic/tools/spray_painter.lua2
1 files changed, 1 insertions, 1 deletions
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,
})