mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-26 10:50:27 +01:00
minor opps/bugfix - devices should not look above/below them normally :-)
This commit is contained in:
parent
50522aeae9
commit
3ddb75217c
@ -89,19 +89,6 @@ pipes_scansurroundings = function(pos)
|
|||||||
pxp=1
|
pxp=1
|
||||||
end
|
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
|
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.."_on_z") ~= nil) or
|
||||||
(string.find(nzm.name, "pipeworks:"..pdev.."_z") ~= nil) then
|
(string.find(nzm.name, "pipeworks:"..pdev.."_z") ~= nil) then
|
||||||
|
Loading…
Reference in New Issue
Block a user