Fixed crash while trying to get DLC with invalid AppID

This commit is contained in:
Jeddunk 2020-12-22 15:20:40 +01:00
parent b68f45d4d7
commit 56e92924ed
5 changed files with 38 additions and 16 deletions

View file

@ -57,7 +57,7 @@ namespace auto_creamapi.Model
if (!(File.Exists("steam_api.dll") && File.Exists("steam_api64.dll")))
{
MyLogger.Log.Information("Missing files, trying to download...");
new Action(async() => await DownloadDll(CsRinRuLogin.Username, CsRinRuLogin.Password))();
new Action(async() => await DownloadDll(Secrets.ForumUsername, Secrets.ForumPassword))();
}
else
{