We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49e393b commit ac17470Copy full SHA for ac17470
KuruExtract/Steam/SteamLibrary.cs
@@ -18,14 +18,14 @@ public static string? InstallPath
18
}
19
20
21
- public static Dictionary<int, SteamGame> Games { get; } = new();
+ public static Dictionary<int, SteamGame> Games { get; } = [];
22
23
public static void FetchGames()
24
{
25
var gameLibraryDirectories = GetLibraryDirectories();
26
foreach (var game in gameLibraryDirectories.Select(GetGamesFromLibrary).SelectMany(games => games))
27
28
- Games.Add(game.AppId, game);
+ Games[game.AppId] = game;
29
30
31
0 commit comments