From cb2937c971669d8c7b97cb1c92a999e0de445925 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 22 Oct 2014 08:15:32 -0400 Subject: [PATCH] Fix crash when account doesn't own app. --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 581a39d6..9c58751c 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -123,7 +123,7 @@ namespace DepotDownloader foreach ( var license in licenseQuery ) { SteamApps.PICSProductInfoCallback.PICSProductInfo package; - if ( steam3.PackageInfo.TryGetValue( license, out package ) || package == null ) + if ( steam3.PackageInfo.TryGetValue( license, out package ) && package != null ) { KeyValue root = package.KeyValues[license.ToString()];