mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -139,9 +139,8 @@ local function entity_build(event)
|
|||||||
|
|
||||||
if event.entity.type == 'cargo-landing-pad' and prototypes.entity['proxy-cargo-landing-pad'] then
|
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 = game.surfaces[1].find_entities_filtered{type='cargo-landing-pad'}
|
||||||
local ec_count = #ec
|
|
||||||
|
|
||||||
if ec_count <= 1 then
|
if #ec <= 1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user