range fix again
authorRealBadAngel <mk@realbadangel.pl>
Sat, 20 Apr 2013 06:13:58 +0000 (08:13 +0200)
committerRealBadAngel <mk@realbadangel.pl>
Sat, 20 Apr 2013 06:14:12 +0000 (08:14 +0200)
item_drop/init.lua

index 8a7afe896eee262782550b79c284c96521fdb6ea..a25a3b5a3772ff0b4cb344b0c0a29231343e4331 100644 (file)
@@ -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 = ""