From 0d37091adf8d08f76d5e121f1a8af0a1497f1b8c Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sun, 4 May 2025 11:53:34 +0300 Subject: [PATCH] Do not attempt to get free license from anonymous account Fixes #624 --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index c7dd46cf..32d1cb8c 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -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);