From 511fb928357e2f4dd8896cc8a4e40a181d2ad908 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 18 Oct 2025 04:01:55 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 82ffb75..e31d9d9 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 then + if (not c) or (#c == 0) then return end