Fixed errors with SET_GROUP

This commit is contained in:
FlightControl_Master
2017-12-04 14:01:59 +01:00
parent 901f460907
commit d38c2540c2
6 changed files with 91 additions and 25 deletions

View File

@@ -222,8 +222,6 @@ do -- TASK_A2G_DISPATCHER
Mission:GetCommandCenter():MessageToGroup( string.format( "Obsolete A2G task %s for %s removed.", TaskText, Mission:GetName() ), TaskGroup )
end
Task = self:RemoveTask( TaskIndex )
Mission:RemoveTask( Task )
self.Tasks[TaskIndex] = nil
end
end
end