From: Vanessa Ezekowitz Date: Tue, 21 Aug 2012 18:38:59 +0000 (-0400) Subject: minor opps/bugfix - devices should not look above/below them normally :-) X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=3ddb75217c3b2bfce75eca726f60c7fd6d091f98;p=zefram%2Fminetest%2Fpipeworks.git minor opps/bugfix - devices should not look above/below them normally :-) --- 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