summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons/internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons/internal.lua b/mesecons/internal.lua
index 8e58d73..0d998d3 100644
--- a/mesecons/internal.lua
+++ b/mesecons/internal.lua
@@ -416,7 +416,7 @@ mesecon.queue:add_function("turnon", function (pos, rulename, recdepth)
end)
function mesecon:turnoff(pos, rulename, recdepth)
- recdepth = recdepth or 0
+ recdepth = recdepth or 2
local node = minetest.get_node(pos)
if(node.name == "ignore") then