Don't need to parse depot id after tryparse

pull/8/head
Ryan Kistner 13 years ago
parent 5249592b35
commit 4ef5af2fcb

@ -368,7 +368,7 @@ namespace DepotDownloader
int id = -1;
if (int.TryParse(child.Name, out id) && child.Children.Count > 0 && (depotId == -1 || id == depotId))
{
depotIDs.Add(int.Parse(child.Name));
depotIDs.Add(id);
}
}
}

Loading…
Cancel
Save