This commit is contained in:
2025-08-28 19:00:49 +09:00
parent 94a6e6e759
commit ea468d758e

View File

@@ -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