summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-04-20 08:13:58 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-04-20 08:14:12 +0200
commit85f2692ef04fd11de9b21d10f67e352052eb381e (patch)
tree581c6f512b24a6aed4c5af17f7dab26d31835848
parent0518993e5db94766b3f921d918dc32161b4e2922 (diff)
range fix again
-rw-r--r--item_drop/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/item_drop/init.lua b/item_drop/init.lua
index 8a7afe8..a25a3b5 100644
--- a/item_drop/init.lua
+++ b/item_drop/init.lua
@@ -13,7 +13,7 @@ minetest.register_globalstep(function(dtime)
if obj.timer > time_pick then
inv:add_item("main", ItemStack(obj.itemstring))
if obj.itemstring ~= "" then
- minetest.sound_play("item_drop_pickup",{pos, gain = 1.0, max_hear_distance = 10})
+ minetest.sound_play("item_drop_pickup",{pos = pos, gain = 1.0, max_hear_distance = 10})
end
if object:get_luaentity() then
object:get_luaentity().itemstring = ""