From c39f197340b86c79f7a88efdf19ef2270d96149a Mon Sep 17 00:00:00 2001 From: Kemal Setya Adhi Date: Sun, 30 Jun 2024 17:39:38 +0700 Subject: [PATCH] QA (again) --- CollapseLauncher/Classes/Helper/Metadata/PresetConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);