mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -124,8 +124,8 @@ local function miner_check(entity)
|
|||||||
for i = 1, #e.fluidbox do
|
for i = 1, #e.fluidbox do
|
||||||
for _, p in pairs(e.fluidbox.get_pipe_connections(i)) do
|
for _, p in pairs(e.fluidbox.get_pipe_connections(i)) do
|
||||||
if p.flow_direction == "input" or p.flow_direction == "input-output" then
|
if p.flow_direction == "input" or p.flow_direction == "input-output" then
|
||||||
for x = 1, p.position.x do
|
for x = 1, p.target_position.x do
|
||||||
for y = 1, p.position.y do
|
for y = 1, p.target_position.y do
|
||||||
table.insert(pipe_build, { x = x, y = y })
|
table.insert(pipe_build, { x = x, y = y })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user