minor opps/bugfix - devices should not look above/below them normally :-)
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 21 Aug 2012 18:38:59 +0000 (14:38 -0400)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Tue, 21 Aug 2012 18:38:59 +0000 (14:38 -0400)
autoplace.lua

index d8377a5036d97006d3204ead90c1ba81c00e6f21..bc149cea052cdd85fc75c13b9282013bf5220011 100644 (file)
@@ -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