This commit is contained in:
FlightControl
2017-05-04 14:23:10 +02:00
parent a499c04fa4
commit 5bb91646d7
2 changed files with 8 additions and 3 deletions

View File

@@ -724,7 +724,12 @@ end
-- @param #TASK self
function TASK:MenuTaskAbort( TaskGroup )
self:Abort()
for PlayerUnitName, PlayerUnit in pairs( TaskGroup:GetUnits() ) do
self:AbortUnit( PlayerUnit )
end
self:GetMission():GetCommandCenter():GetPositionable():MessageToSetGroup( "Abort", 15, self.SetGroup )
end