Spawned FARP issue

This commit is contained in:
Applevangelist 2024-01-19 19:31:49 +01:00
parent 6e60a66d0c
commit e50d54f6bc

View File

@ -435,7 +435,8 @@ function STRATEGO:AnalyseBases()
if not abzone then if not abzone then
abzone = ZONE_RADIUS:New(abname,ab:GetVec2(),500) abzone = ZONE_RADIUS:New(abname,ab:GetVec2(),500)
end end
local coa = ab:GetCoalition() or 0 local coa = ab:GetCoalition()
if coa == nil then return end -- Spawned FARPS issue - these have no tangible data
coa = coa+1 coa = coa+1
local abtype = "AIRBASE" local abtype = "AIRBASE"
if ab:IsShip() then if ab:IsShip() then