From 68342c79d54b0efb4d9a680c17fbe2bb33be440a Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 12 Aug 2012 22:31:35 -0400 Subject: [PATCH] Made X <-> Z bends not produce junction bump (only appears on T-junctions, crossings, etc) --- mesecons/wires.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesecons/wires.lua b/mesecons/wires.lua index b85c2f6..e4c7e6a 100644 --- a/mesecons/wires.lua +++ b/mesecons/wires.lua @@ -87,7 +87,8 @@ for zmy=0, 1 do if zpy == 1 then table.insert(nodebox, box_zpy) end if xmy == 1 then table.insert(nodebox, box_xmy) end if zmy == 1 then table.insert(nodebox, box_zmy) end - if adjx and adjz then + nobump = xp+zp+xm+zm + if adjx and adjz and (nobump > 2) then table.insert(nodebox, box_bump1) table.insert(nodebox, box_bump2) tiles_off = {