Minor fixes

This commit is contained in:
Applevangelist
2024-01-19 19:09:08 +01:00
parent 0ce3a189c3
commit 11f0b2899d
3 changed files with 5 additions and 2 deletions

View File

@@ -435,7 +435,8 @@ function STRATEGO:AnalyseBases()
if not abzone then
abzone = ZONE_RADIUS:New(abname,ab:GetVec2(),500)
end
local coa = ab:GetCoalition() + 1
local coa = ab:GetCoalition() or 0
coa = coa+1
local abtype = "AIRBASE"
if ab:IsShip() then
numrwys = 1