Fix role tab issue

This commit is contained in:
Atony committed 2026-08-17 17:41:24 -05:00
1 parent a491592669
commit 73e4506016
1 file changed
+1 -1
+1 -1
View File
@@ -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;