- Fixed call to .Resume function if AI_A2A_CAP is calling.
This commit is contained in:
Frank
2020-01-02 20:15:42 +01:00
parent 6208c79d1f
commit d5b8ed62ae
3 changed files with 13 additions and 3 deletions

View File

@@ -356,7 +356,6 @@ function AI_AIR_PATROL:onafterPatrolRoute( AIPatrol, From, Event, To )
local taskOrbit=AIPatrol:TaskOrbit(c1, altitude, UTILS.KmphToMps(speedkmh), c2)
-- Task function to redo the patrol at other random position.
--local taskPatrol=AIPatrol:TaskFunction("AI_A2A_PATROL.PatrolRoute", self)
local taskPatrol=AIPatrol:TaskFunction("AI_AIR_PATROL.___PatrolRoute", self)
-- Controlled task with task condition.