FLIGHTGROUP

- Increased dealy before Route to base to 1.0 sec. Previous delay of 0.1 sec was apparently too short for the stop flag to take effect and the task was not called done. Hence the mission was also not done.
This commit is contained in:
Frank
2023-01-07 17:04:34 +01:00
parent 584e932769
commit ab272da46e
4 changed files with 20 additions and 21 deletions

View File

@@ -1068,7 +1068,8 @@ function LEGION:onafterMissionRequest(From, Event, To, Mission, Assets)
--self:AddRequest(self, WAREHOUSE.Descriptor.ASSETLIST, Assetlist, #Assetlist, nil, nil, Mission.prio, assignment)
local request=self:_AddRequest(WAREHOUSE.Descriptor.ASSETLIST, Assetlist, #Assetlist, Mission.prio, assignment)
env.info(string.format("FF Added request=%d for Nasssets=%d", request.uid, #Assetlist))
-- Debug Info.
self:T(self.lid..string.format("Added request=%d for Nasssets=%d", request.uid, #Assetlist))
-- The queueid has been increased in the onafterAddRequest function. So we can simply use it here.
--Mission.requestID[self.alias]=self.queueid