Update Airboss.lua

This commit is contained in:
Frank 2019-04-03 23:36:22 +02:00
parent 4bcf43122f
commit 6593a262bb

View File

@ -6047,7 +6047,13 @@ function AIRBOSS:_MarshalAI(flight, nstack, respawn)
-- Nil check.
if flight==nil or flight.group==nil then
self:E(self.lid.."ERROR: flight or flight.group is nil")
self:E(self.lid.."ERROR: flight or flight.group is nil.")
return
end
-- Nil check.
if flight.group:GetCoordinate()==nil then
self:E(self.lid.."ERROR: cannot get coordinate of flight group.")
return
end