projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0518993
)
range fix again
author
RealBadAngel
<mk@realbadangel.pl>
Sat, 20 Apr 2013 06:13:58 +0000
(08:13 +0200)
committer
RealBadAngel
<mk@realbadangel.pl>
Sat, 20 Apr 2013 06:14:12 +0000
(08:14 +0200)
item_drop/init.lua
patch
|
blob
|
history
diff --git
a/item_drop/init.lua
b/item_drop/init.lua
index 8a7afe896eee262782550b79c284c96521fdb6ea..a25a3b5a3772ff0b4cb344b0c0a29231343e4331 100644
(file)
--- 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 = ""