mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Ops
This commit is contained in:
@@ -1748,7 +1748,11 @@ function AIRWING:_CreateFlightGroup(asset)
|
||||
local flightgroup=FLIGHTGROUP:New(asset.spawngroupname)
|
||||
|
||||
-- Set airwing.
|
||||
flightgroup:SetAirwing(self)
|
||||
flightgroup:SetAirwing(self)
|
||||
|
||||
flightgroup.squadron=self:GetSquadronOfAsset(asset)
|
||||
|
||||
--[[
|
||||
|
||||
--- Check if out of missiles. For A2A missions ==> RTB.
|
||||
function flightgroup:OnAfterOutOfMissiles()
|
||||
@@ -1774,6 +1778,8 @@ function AIRWING:_CreateFlightGroup(asset)
|
||||
|
||||
end
|
||||
|
||||
]]
|
||||
|
||||
return flightgroup
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user