Do not attempt to get free license from anonymous account

Fixes #624
pull/634/head
Pavel Djundik 5 months ago
parent 0d66cf09ac
commit 0d37091adf

@ -432,7 +432,7 @@ namespace DepotDownloader
if (!await AccountHasAccess(appId, appId))
{
if (await steam3.RequestFreeAppLicense(appId))
if (steam3.steamUser.SteamID.AccountType != EAccountType.AnonUser && await steam3.RequestFreeAppLicense(appId))
{
Console.WriteLine("Obtained FreeOnDemand license for app {0}", appId);

Loading…
Cancel
Save