- Added push time
This commit is contained in:
Frank
2021-07-12 15:27:08 +02:00
parent 268eb1d60d
commit 1b717e4683
6 changed files with 146 additions and 34 deletions

View File

@@ -392,6 +392,17 @@ function ARMYGROUP:onafterStatus(From, Event, To)
self:_UpdateEngageTarget()
end
-- Check if group is waiting.
if self:IsWaiting() then
if self.Twaiting and self.dTwait then
if timer.getAbsTime()>self.Twaiting+self.dTwait then
self.Twaiting=nil
self.dTwait=nil
self:Cruise()
end
end
end
end
if alive~=nil then