From 525f987926f808ed06662d4ad6bf8f19c7e69c8f Mon Sep 17 00:00:00 2001 From: linmeideli <2558527373@qq.com> Date: Fri, 14 Aug 2026 13:38:28 +0800 Subject: [PATCH] this check does not work for Unity's fake null --- MiraAPI/Patches/Options/GameOptionsMenuPatch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Patches/Options/GameOptionsMenuPatch.cs b/MiraAPI/Patches/Options/GameOptionsMenuPatch.cs index aa5156e..0aea27b 100644 --- a/MiraAPI/Patches/Options/GameOptionsMenuPatch.cs +++ b/MiraAPI/Patches/Options/GameOptionsMenuPatch.cs @@ -126,7 +126,7 @@ internal static class GameOptionsMenuPatch private static void UpdateGroup(AbstractOptionGroup? group, ref float num) { - if (group is null || !group.Ready || group.Options.Count == 0 || group.Header is null) + if (group is null || !group.Ready || group.Options.Count == 0 || group.Header == null) { return; }