Update SteamLibrary.cs
This commit is contained in:
parent
6c5a36587e
commit
b63603a165
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ internal static class SteamLibrary
|
||||||
{
|
{
|
||||||
if (Program.Canceled)
|
if (Program.Canceled)
|
||||||
return games;
|
return games;
|
||||||
foreach ((string appId, string name, string branch, int buildId, string gameDirectory) game in await GetGamesFromLibraryDirectory(
|
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)))
|
libraryDirectory)).Where(game => !games.Any(_game => _game.appId == game.appId && _game.gameDirectory == game.gameDirectory)))
|
||||||
games.Add(game);
|
games.Add(game);
|
||||||
}
|
}
|
||||||
return games;
|
return games;
|
||||||
|
|
Loading…
Reference in a new issue