From 36d3e8b2e710d33938f9575a95b97533e5ff381f Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 20 Oct 2025 17:50:02 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index e31d9d9..1cd2254 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -440,7 +440,7 @@ local function handle_valve_value(entity, combinator) -- every item in front of it? local v = entity.surface.find_entities_filtered{type='valve', position=entity.position, radius=1} - if not (v or #v == 0) then + if #v == 0 then return end @@ -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 #c == 0 then return end