From f713ff2e5fc11c66572506b124efef6e720adbf8 Mon Sep 17 00:00:00 2001 From: Amy <3855802+amylizzle@users.noreply.github.com> Date: Wed, 27 Sep 2023 15:31:10 +0100 Subject: [PATCH] Update OpenDreamClient/Interface/InterfaceMenu.cs Co-authored-by: wixoa --- OpenDreamClient/Interface/InterfaceMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenDreamClient/Interface/InterfaceMenu.cs b/OpenDreamClient/Interface/InterfaceMenu.cs index e924126321..f1edfcb19e 100644 --- a/OpenDreamClient/Interface/InterfaceMenu.cs +++ b/OpenDreamClient/Interface/InterfaceMenu.cs @@ -127,7 +127,7 @@ public MenuBar.MenuEntry CreateMenuEntry() { menuButton.OnPressed += () => { if(MenuElementDescriptor.CanCheck) - if(MenuElementDescriptor.Group != null) + if(!String.IsNullOrEmpty(MenuElementDescriptor.Group)) _menu.SetGroupChecked(MenuElementDescriptor.Group, MenuElementDescriptor.Id); else MenuElementDescriptor.IsChecked = !MenuElementDescriptor.IsChecked;