diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 1fe55e6..82ffb75 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -460,7 +460,7 @@ end local function handle_spoil_value(entity, combinator) local c = entity.surface.find_entities_filtered{type='chest', position=entity.position, radius=1, limit=1} - if not (c or #c == 0) then + if not c then return end