diff options
author | cheapie <no-email-for-you@example.com> | 2024-09-21 15:43:52 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-09-21 15:43:52 -0500 |
commit | be5a34569d215c56c4b21aeb53d9ed5bb3c520f5 (patch) | |
tree | 9cb78e8560c0e71a7028e985adb573ee8c41ceb9 /init.lua | |
parent | 1d5426902fab451a8750a72d7748397565fe0801 (diff) | |
download | mesecons_better_vertical-be5a34569d215c56c4b21aeb53d9ed5bb3c520f5.tar mesecons_better_vertical-be5a34569d215c56c4b21aeb53d9ed5bb3c520f5.tar.gz mesecons_better_vertical-be5a34569d215c56c4b21aeb53d9ed5bb3c520f5.tar.bz2 mesecons_better_vertical-be5a34569d215c56c4b21aeb53d9ed5bb3c520f5.tar.xz mesecons_better_vertical-be5a34569d215c56c4b21aeb53d9ed5bb3c520f5.zip |
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) |