From 8dd7c4c1b58a3436799bec1617035d330aa2901c Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 22 Feb 2020 13:30:49 +0200 Subject: [PATCH] Fix crashing on duplicate license --- DepotDownloader/ContentDownloader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DepotDownloader/ContentDownloader.cs b/DepotDownloader/ContentDownloader.cs index 7fd9398f..fc46afa5 100644 --- a/DepotDownloader/ContentDownloader.cs +++ b/DepotDownloader/ContentDownloader.cs @@ -121,7 +121,7 @@ namespace DepotDownloader } else { - licenseQuery = steam3.Licenses.Select( x => x.PackageID ); + licenseQuery = steam3.Licenses.Select( x => x.PackageID ).Distinct(); } steam3.RequestPackageInfo( licenseQuery );