this check does not work for Unity's fake null

This commit is contained in:
linmeideli committed 2026-08-14 13:38:28 +08:00
1 parent 0b81a8808a
commit 525f987926
1 file changed
+1 -1
@@ -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;
}