Updated the Escort Class

This commit is contained in:
FlightControl 2016-03-24 12:20:24 +01:00
parent 560e3d643f
commit 2e045f2cea
2 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@ function ESCORT:New( EscortClient, EscortGroup, EscortName )
self.EscortGroup = EscortGroup
self.EscortName = EscortName
self.ReportTargets = true
-- Escort Navigation
-- Escort Navigation
self.EscortMenu = MENU_SUB_GROUP:New( self.EscortClient:GetGroup(), "Escort" .. self.EscortName )
self.EscortMenuHoldPosition = MENU_COMMAND_GROUP:New( self.EscortClient:GetGroup(), "Hold Position and Stay Low", self.EscortMenu, ESCORT._HoldPosition, { ParamSelf = self } )

View File

@ -360,7 +360,7 @@ function GROUP:HoldFire()
local Controller = self:_GetController()
Controller:setOption( AI.Option.Air.id.ROE, AI.Option.Air.val.ROE.WEAPONS_HOLD )
Controller:setOption( AI.Option.Air.id.ROE, AI.Option.Air.val.ROE.WEAPON_HOLD )
return self
end