Toggle roles enabled message properly

This commit is contained in:
Atony committed 2026-10-03 19:16:39 -05:00
1 parent 3bcc5139f3
commit 91c7ea8dda
1 file changed
+1 -4
+1 -4
View File
@@ -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));