Fixed DD crash when specifying -dir without -game.

pull/8/head
psychonic 14 years ago
parent d6850b8f33
commit 866e7ff778

@ -46,6 +46,10 @@ namespace DepotDownloader
installDir = Path.Combine(ContentDownloader.Config.InstallDirectory, serverFolder); installDir = Path.Combine(ContentDownloader.Config.InstallDirectory, serverFolder);
Directory.CreateDirectory(installDir); Directory.CreateDirectory(installDir);
} }
else
{
installDir = ContentDownloader.Config.InstallDirectory;
}
} }
} }
catch catch

Loading…
Cancel
Save