summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index a7f0989..b8c9d1d 100644
--- a/init.lua
+++ b/init.lua
@@ -275,6 +275,7 @@ crops.die = function(pos)
local node = minetest.get_node(pos)
local plant = find_plant(node)
plant.properties.die(pos)
+ minetest.sound_play("crops_flies", {pos=pos, gain=0.8})
end
minetest.register_tool("crops:watering_can", {