summaryrefslogtreecommitdiff
path: root/item_drop/item_entity.lua
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-04-20 07:43:49 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-04-20 07:45:14 +0200
commit5db0041896c9d01f8edc5b7a2ec86ae9d50eb8e8 (patch)
tree04de8e750b39bdd267da37dbba53e05e455797bf /item_drop/item_entity.lua
parent9b76f5cf27657f30b1ca900bbe8a26afca65214c (diff)
Item drop sounds range fix
Diffstat (limited to 'item_drop/item_entity.lua')
-rw-r--r--item_drop/item_entity.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/item_drop/item_entity.lua b/item_drop/item_entity.lua
index 5c5076d..83c7ba1 100644
--- a/item_drop/item_entity.lua
+++ b/item_drop/item_entity.lua
@@ -104,7 +104,7 @@ minetest.register_entity(":__builtin:item", {
local name = minetest.env:get_node(p).name
if name == "default:lava_flowing" or name == "default:lava_source" then
- minetest.sound_play("builtin_item_lava", {pos=self.object:getpos()})
+ minetest.sound_play("builtin_item_lava", {pos=self.object:getpos()},gain = 1.0, max_hear_distance = 10)
self.object:remove()
return
end