summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-21 14:38:59 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2012-08-21 14:38:59 -0400
commit3ddb75217c3b2bfce75eca726f60c7fd6d091f98 (patch)
tree4cafe52fa84a45383e15edeab59fbcdc12f3f262
parent50522aeae9d76adc6676554a9a732610edb0ade9 (diff)
downloadpipeworks-3ddb75217c3b2bfce75eca726f60c7fd6d091f98.tar
pipeworks-3ddb75217c3b2bfce75eca726f60c7fd6d091f98.tar.gz
pipeworks-3ddb75217c3b2bfce75eca726f60c7fd6d091f98.tar.bz2
pipeworks-3ddb75217c3b2bfce75eca726f60c7fd6d091f98.tar.xz
pipeworks-3ddb75217c3b2bfce75eca726f60c7fd6d091f98.zip
minor opps/bugfix - devices should not look above/below them normally :-)
-rw-r--r--autoplace.lua13
1 files changed, 0 insertions, 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