This commit is contained in:
2025-06-06 01:07:24 +09:00
parent dd2ea90e7f
commit 7562cbdb8f

View File

@@ -119,12 +119,17 @@ local function entity_destroy(event)
end end
end end
elseif event.entity.type == 'lab' then return
end
if event.entity.type == 'lab' then
local p = event.entity.surface.find_entity({name = 'proxy-container', force = 'neutral', quality = event.entity.quality.name}, {event.entity.position.x, event.entity.position.y}) local p = event.entity.surface.find_entity({name = 'proxy-container', force = 'neutral', quality = event.entity.quality.name}, {event.entity.position.x, event.entity.position.y})
if p then if p then
p.destroy() p.destroy()
end end
return
end end
end end