From 9396ce8940641039cfd13156e279f225f21f5b81 Mon Sep 17 00:00:00 2001 From: Jeija Date: Mon, 13 Aug 2012 21:51:41 +0200 Subject: [PATCH] Re-enable backwards compatibility (sorry for disabling) --- mesecons/wires.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mesecons/wires.lua b/mesecons/wires.lua index cb65f46..cef58af 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -315,12 +315,12 @@ minetest.register_craft({ } }) ---minetest.register_abm( --- {nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"}, --- interval = 2, --- chance = 1, --- action = function(pos, node, active_object_count, active_object_count_wider) --- mesecon:update_autoconnect(pos, false, true) --- end, ---}) +minetest.register_abm( + {nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"}, + interval = 2, + chance = 1, + action = function(pos, node, active_object_count, active_object_count_wider) + mesecon:update_autoconnect(pos, false, true) + end, +}) end