Fixed DD crash when specifying -dir without -game.

This commit is contained in:
psychonic committed 2011-12-10 01:18:24 -05:00
1 parent d6850b8f33
commit 866e7ff778
1 file changed
+4
+4
View File
@@ -46,6 +46,10 @@ namespace DepotDownloader
installDir = Path.Combine(ContentDownloader.Config.InstallDirectory, serverFolder);
Directory.CreateDirectory(installDir);
}
else
{
installDir = ContentDownloader.Config.InstallDirectory;
}
}
}
catch