From b63603a165ad9ccc5c5420e7b47cf2f8eac9c6f5 Mon Sep 17 00:00:00 2001 From: pointfeev Date: Tue, 30 May 2023 13:45:25 -0400 Subject: [PATCH] Update SteamLibrary.cs --- CreamInstaller/Platforms/Steam/SteamLibrary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CreamInstaller/Platforms/Steam/SteamLibrary.cs b/CreamInstaller/Platforms/Steam/SteamLibrary.cs index e4d92de..9169da5 100644 --- a/CreamInstaller/Platforms/Steam/SteamLibrary.cs +++ b/CreamInstaller/Platforms/Steam/SteamLibrary.cs @@ -30,8 +30,8 @@ internal static class SteamLibrary { if (Program.Canceled) return games; - foreach ((string appId, string name, string branch, int buildId, string gameDirectory) game in await GetGamesFromLibraryDirectory( - libraryDirectory).Where(game => !games.Any(_game => _game.appId == game.appId && _game.gameDirectory == game.gameDirectory))) + foreach ((string appId, string name, string branch, int buildId, string gameDirectory) game in (await GetGamesFromLibraryDirectory( + libraryDirectory)).Where(game => !games.Any(_game => _game.appId == game.appId && _game.gameDirectory == game.gameDirectory))) games.Add(game); } return games;