mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user