From e7f9a3bb6098b0a6c37d0650208926f3150d61c9 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Fri, 16 May 2025 19:27:12 -0400 Subject: [PATCH] hide roles in lobby view pane --- MiraAPI/Patches/Options/LobbyViewPanePatches.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MiraAPI/Patches/Options/LobbyViewPanePatches.cs b/MiraAPI/Patches/Options/LobbyViewPanePatches.cs index 8182aa7..b98585d 100644 --- a/MiraAPI/Patches/Options/LobbyViewPanePatches.cs +++ b/MiraAPI/Patches/Options/LobbyViewPanePatches.cs @@ -291,6 +291,11 @@ public static class LobbyViewPanePatches foreach (var customRole in grouping) { + if (customRole.Configuration.HideSettings) + { + continue; + } + var roleBehaviour = customRole as RoleBehaviour; if (roleBehaviour == null) {