summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons/wires.lua16
1 files 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