mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Airboss.lua
This commit is contained in:
parent
4bcf43122f
commit
6593a262bb
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user