clear redundant code

This commit is contained in:
Atony committed 2026-10-04 18:29:34 -05:00
1 parent 3cf1963414
commit 0dfb65e9b6
1 file changed
-2
-2
View File
@@ -832,7 +832,6 @@ public static class RoleGuidePatches
instance.rolesEnabledMessage.SetActive(num == 0);*/
_modifiersScroller.SetYBoundsMax(Mathf.Clamp(Mathf.Ceil(num / 2f) * 1.3f - 1.5f, 0f, 999f));
_modifiersScroller.SetYBoundsMax(Mathf.Clamp(Mathf.Ceil(num / 2f) * 1.3f - 1.5f, 0f, 999f));
}
public static void ToggleRoleVisibility()
@@ -890,7 +889,6 @@ public static class RoleGuidePatches
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));
}
public static void SortAllRoles(string searchText)