From 91c7ea8ddad5bfd6506a4e6e64df8bc8d0d8c847 Mon Sep 17 00:00:00 2001 From: Atony <75191600+AtonyGit@users.noreply.github.com> Date: Sat, 3 Oct 2026 19:16:39 -0500 Subject: [PATCH] Toggle roles enabled message properly --- MiraAPI/Patches/RoleGuidePatches.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/MiraAPI/Patches/RoleGuidePatches.cs b/MiraAPI/Patches/RoleGuidePatches.cs index fde6ca6..cde717c 100644 --- a/MiraAPI/Patches/RoleGuidePatches.cs +++ b/MiraAPI/Patches/RoleGuidePatches.cs @@ -653,10 +653,7 @@ public static class RoleGuidePatches } var instance = MatchInfoGuide.Instance; - if (num == 0) - { - instance.rolesEnabledMessage.SetActive(true); - } + instance.rolesEnabledMessage.SetActive(num == 0); instance.MatchInfoRoleScroller.SetYBoundsMax(Mathf.Clamp(Mathf.Ceil(num / 2f) * 1.3f - 1.5f, 0f, 999f)); instance.MatchInfoRoleScroller.SetYBoundsMax(Mathf.Clamp(Mathf.Ceil(num / 2f) * 1.3f - 1.5f, 0f, 999f));