Fix error downloading some depots to current directory (-dir .)

pull/8/head
psychonic 13 years ago
parent 25c47e2fbb
commit 0f2edd0a94

@ -719,7 +719,7 @@ namespace DepotDownloader
string path = Path.GetDirectoryName(downloadPath);
if (!Directory.Exists(path))
if (path != "" && !Directory.Exists(path))
Directory.CreateDirectory(path);
if ( dirEntry.FileID == -1 )

Loading…
Cancel
Save