From 3ddb75217c3b2bfce75eca726f60c7fd6d091f98 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 21 Aug 2012 14:38:59 -0400 Subject: [PATCH] minor opps/bugfix - devices should not look above/below them normally :-) --- autoplace.lua | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/autoplace.lua b/autoplace.lua index d8377a5..bc149ce 100644 --- a/autoplace.lua +++ b/autoplace.lua @@ -89,19 +89,6 @@ pipes_scansurroundings = function(pos) pxp=1 end - if (string.find(nym.name, "pipeworks:"..pdev.."_off_z") ~= nil) or - (string.find(nym.name, "pipeworks:"..pdev.."_on_z") ~= nil) or - (string.find(nym.name, "pipeworks:"..pdev.."_z") ~= nil) then - pym=1 - end - - if (string.find(nyp.name, "pipeworks:"..pdev.."_off_z") ~= nil) or - (string.find(nyp.name, "pipeworks:"..pdev.."_on_z") ~= nil) or - (string.find(nyp.name, "pipeworks:"..pdev.."_z") ~= nil) then - pyp=1 - end - - if (string.find(nzm.name, "pipeworks:"..pdev.."_off_z") ~= nil) or (string.find(nzm.name, "pipeworks:"..pdev.."_on_z") ~= nil) or (string.find(nzm.name, "pipeworks:"..pdev.."_z") ~= nil) then