diff options
author | RealBadAngel <mk@realbadangel.pl> | 2013-04-20 07:43:49 +0200 |
---|---|---|
committer | RealBadAngel <mk@realbadangel.pl> | 2013-04-20 07:45:14 +0200 |
commit | 5db0041896c9d01f8edc5b7a2ec86ae9d50eb8e8 (patch) | |
tree | 04de8e750b39bdd267da37dbba53e05e455797bf /item_drop/init.lua | |
parent | 9b76f5cf27657f30b1ca900bbe8a26afca65214c (diff) |
Item drop sounds range fix
Diffstat (limited to 'item_drop/init.lua')
-rw-r--r-- | item_drop/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/item_drop/init.lua b/item_drop/init.lua index 131265c..5033eca 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") + minetest.sound_play("item_drop_pickup",gain = 1.0, max_hear_distance = 10) end if object:get_luaentity() then object:get_luaentity().itemstring = "" |