mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Fix vanilla roles tab being broken
This commit is contained in:
1 parent
30a39fa223
commit
8c5aee4beb
2 files changed
+2
-2
No files matched your search
@@ -109,7 +109,7 @@ public static class LobbyViewPanePatches
|
||||
private static void Refresh(LobbyViewSettingsPane menu)
|
||||
{
|
||||
ModifiersTabButton?.gameObject.SetActive(SelectedModIdx != 0);
|
||||
menu.gameModeText.text = SelectedMod?.PluginInfo.Metadata.Name ?? "Default";
|
||||
menu.gameModeText.text = SelectedMod?.PluginInfo.Metadata.Name ?? "Main";
|
||||
menu.RefreshTab();
|
||||
menu.scrollBar.ScrollToTop();
|
||||
}
|
||||
|
||||
@@ -152,7 +152,7 @@ public static class RoleSettingMenuPatches
|
||||
}
|
||||
|
||||
Info($"Created {num3} role options for the default game.");
|
||||
yield return null;
|
||||
yield break;
|
||||
}
|
||||
|
||||
ScrollerNum = 0.522f;
|
||||
|
||||
Reference in new issue
Block a user