summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
-rw-r--r--sounds/builtin_item_lava.oggbin24692 -> 37367 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 20cc5fa..a91b5e7 100644
--- a/init.lua
+++ b/init.lua
@@ -94,7 +94,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", {to_object=self.object})
+ minetest.sound_play("builtin_item_lava", {pos=self.object:getpos()})
self.object:remove()
return
end
diff --git a/sounds/builtin_item_lava.ogg b/sounds/builtin_item_lava.ogg
index 2dca83f..5c293fe 100644
--- a/sounds/builtin_item_lava.ogg
+++ b/sounds/builtin_item_lava.ogg
Binary files differ