From ea468d758e3b0b08dd95fee4704ab438002b0a84 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 28 Aug 2025 19:00:49 +0900 Subject: [PATCH] . --- PHI-CL/control.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PHI-CL/control.lua b/PHI-CL/control.lua index 0b7dc69..f66b569 100644 --- a/PHI-CL/control.lua +++ b/PHI-CL/control.lua @@ -139,9 +139,8 @@ local function entity_build(event) if event.entity.type == 'cargo-landing-pad' and prototypes.entity['proxy-cargo-landing-pad'] then local ec = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'} - local ec_count = #ec - if ec_count <= 1 then + if #ec <= 1 then return end