From 9c66efd66722c1b5a84569028d6709edf9026526 Mon Sep 17 00:00:00 2001 From: leucome Date: Tue, 17 Sep 2019 20:08:07 -0400 Subject: [PATCH] Update functions.lua --- mods/default/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index a4de3385..9d6c5937 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -427,7 +427,7 @@ local function leafdecay_after_destruct(pos, oldnode, def) vector.add(pos, def.radius), def.leaves)) do local node = minetest.get_node(v) local timer = minetest.get_node_timer(v) - if node.param2 ~=1 and not timer:is_started() then -- Use ~=1 to make the other value available (fix luscious mod) + if node.param2 ~= 1 and not timer:is_started() then timer:start(math.random(20, 120) / 10) end end