This commit is contained in:
2025-02-12 22:13:10 +09:00
parent b026a84e67
commit 6bc077ed3e

View File

@@ -112,7 +112,6 @@ local function miner_check(entity)
table.insert(pipe_build, { x = 0, y = 0 })
local rh = math.ceil(er / 2) - 1
local r = er + 1
local entities = es.find_entities_filtered{ area = { { ep.x - r, ep.y - r }, { ep.x + r, ep.y + r } }, type = { "mining-drill", "pipe", "pipe-to-ground" } }
local entities_t = es.find_entities_filtered{ area = { { ep.x - r, ep.y - r }, { ep.x + r, ep.y + r } }, ghost_type = { "pipe", "pipe-to-ground" } }
table.insert_array(entities, entities_t)