mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 02:55:22 +09:00
.
This commit is contained in:
@@ -460,7 +460,7 @@ end
|
|||||||
local function handle_spoil_value(entity, combinator)
|
local function handle_spoil_value(entity, combinator)
|
||||||
local c = entity.surface.find_entities_filtered{type='chest', position=entity.position, radius=1, limit=1}
|
local c = entity.surface.find_entities_filtered{type='chest', position=entity.position, radius=1, limit=1}
|
||||||
|
|
||||||
if not c then
|
if (not c) or (#c == 0) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user