summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 002fead..33e96f8 100644
--- a/init.lua
+++ b/init.lua
@@ -20,7 +20,6 @@ mesecon.vertical_autoconnect = function(pos)
local dnname_base = string.sub(dnnode.name,-3,-1) == "_on" and string.sub(dnnode.name,1,-4) or string.sub(dnnode.name,1,-5)
local upjoin = upname_base == "mesecons_extrawires:vertical_bottom"
local downjoin = dnname_base == "mesecons_extrawires:vertical_top"
- minetest.chat_send_all(shouldbe)
if shouldbe ~= string.sub(node.name,1,string.len(shouldbe)) or upjoin or downjoin then
node.name = shouldbe.."_off"
minetest.set_node(pos,node)