summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-08-13 21:51:41 +0200
committerJeija <norrepli@gmail.com>2012-08-13 21:51:41 +0200
commit9396ce8940641039cfd13156e279f225f21f5b81 (patch)
treed20a10b77e6e6ea584c86ac029c002f1f46b402a
parent164971f6d1e7be5d53cc26f722fbd5fc42055e4f (diff)
downloadmesecons-9396ce8940641039cfd13156e279f225f21f5b81.tar
mesecons-9396ce8940641039cfd13156e279f225f21f5b81.tar.gz
mesecons-9396ce8940641039cfd13156e279f225f21f5b81.tar.bz2
mesecons-9396ce8940641039cfd13156e279f225f21f5b81.tar.xz
mesecons-9396ce8940641039cfd13156e279f225f21f5b81.zip
Re-enable backwards compatibility (sorry for disabling)
-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