mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 11:39:45 +00:00
Fix role tab issue
This commit is contained in:
1 parent
a491592669
commit
73e4506016
1 file changed
+1
-1
@@ -7,7 +7,7 @@ internal static class TaskPanelPatch
|
||||
{
|
||||
public static bool Prefix(TaskPanelBehaviour __instance)
|
||||
{
|
||||
if (CustomGameModeManager.ActiveMode != null)
|
||||
if (__instance != Roles.HudManagerPatches.RoleTab && CustomGameModeManager.ActiveMode != null)
|
||||
{
|
||||
CustomGameModeManager.ActiveMode.UpdateTaskPanel(__instance);
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user