I have the refuel again working for the AI_A2A_DISPATCHER.

And the status checks are again functional for CAP and GCI!
This commit is contained in:
FlightControl
2018-10-01 20:29:33 +02:00
parent d037614861
commit 8f6a3d5c49
5 changed files with 6 additions and 8 deletions

View File

@@ -282,13 +282,14 @@ function AI_A2A_CAP:New( AICap, PatrolZone, PatrolFloorAltitude, PatrolCeilingAl
end
--- onafter State Transition for Event Patrol.
-- @param #AI_A2A_GCI self
-- @param #AI_A2A_CAP self
-- @param Wrapper.Group#GROUP AICap The AI Group managed by the FSM.
-- @param #string From The From State string.
-- @param #string Event The Event string.
-- @param #string To The To State string.
function AI_A2A_CAP:onafterStart( AICap, From, Event, To )
self:GetParent( self ).onafterStart( self, AICap, From, Event, To )
AICap:HandleEvent( EVENTS.Takeoff, nil, self )
end