summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesecons/wires.lua3
1 files changed, 2 insertions, 1 deletions
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 = {