From d066b91632ac34df15c731bd86671ef78f52d3df Mon Sep 17 00:00:00 2001 From: Jeija Date: Sat, 11 Jan 2014 16:48:25 +0100 Subject: [PATCH] Fix infinite priority bug in mesecon:turnoff, thanks to Novatux --- mesecons/internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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