mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
clear redundant code
This commit is contained in:
1 parent
3cf1963414
commit
0dfb65e9b6
1 file changed
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user