diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index a937d72d..632bffca 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -180,14 +180,14 @@ namespace DepotDownloader return null; } - SteamApps.AppInfoCallback.AppInfo app; + SteamApps.AppInfoCallback.App app; if (!steam3.AppInfo.TryGetValue((uint)appId, out app)) { return null; } KeyValue section_kv; - if (!app.Sections.TryGetValue((int)section, out section_kv)) + if (!app.Sections.TryGetValue(section, out section_kv)) { return null; } @@ -224,7 +224,7 @@ namespace DepotDownloader return 0; } - SteamApps.AppInfoCallback.AppInfo app; + SteamApps.AppInfoCallback.App app; if (!steam3.AppInfo.TryGetValue((uint)appId, out app)) { return 0; @@ -288,6 +288,7 @@ namespace DepotDownloader Username = username, Password = password, + RequestSteam2Ticket = true, } ); diff --git a/DepotDownloader/DepotDownloader.csproj b/DepotDownloader/DepotDownloader.csproj index 81848bdc..a7cef36e 100644 --- a/DepotDownloader/DepotDownloader.csproj +++ b/DepotDownloader/DepotDownloader.csproj @@ -10,7 +10,7 @@ Properties DepotDownloader DepotDownloader - v3.5 + v4.0 512 @@ -31,6 +31,7 @@ false false true + true @@ -100,6 +101,9 @@ true + + +