This commit is contained in:
2025-02-12 19:51:53 +09:00
parent a900440fc4
commit 20e98d4b13

View File

@@ -118,11 +118,9 @@ local function miner_check(entity)
for i = 1, #entity.fluidbox do for i = 1, #entity.fluidbox do
for _, p in pairs(entity.fluidbox.get_pipe_connections(i)) do for _, p in pairs(entity.fluidbox.get_pipe_connections(i)) do
if p.flow_direction == "input" or p.flow_direction == "input-output" then for x = 1, p.position.x do
for x = 1, p.position.x do for y = 1, p.position.y do
for y = 1, p.position.y do table.insert(pipe_build, { x = x, y = y })
table.insert(pipe_build, { x = x, y = y })
end
end end
end end
end end