diff --git a/CollapseLauncher/Classes/Helper/Metadata/PresetConfig.cs b/CollapseLauncher/Classes/Helper/Metadata/PresetConfig.cs index a3f93b05a..131f22101 100644 --- a/CollapseLauncher/Classes/Helper/Metadata/PresetConfig.cs +++ b/CollapseLauncher/Classes/Helper/Metadata/PresetConfig.cs @@ -561,7 +561,7 @@ public bool TryCheckGameLocationHYP() string[] subKeyKey = subKey.GetSubKeyNames(); if (subKeyKey.Length == 0) continue; - string? gameKeyName = subKeyKey?.FirstOrDefault(x => x.Equals(LauncherBizName, StringComparison.OrdinalIgnoreCase)); + string? gameKeyName = subKeyKey.FirstOrDefault(x => x.Equals(LauncherBizName, StringComparison.OrdinalIgnoreCase)); if (string.IsNullOrEmpty(gameKeyName)) continue; RegistryKey? gameKey = subKey.OpenSubKey(gameKeyName);