From 2b1db0ee24096130afcfb960a44ce3c2af994e25 Mon Sep 17 00:00:00 2001 From: ang-xd Date: Sat, 15 Feb 2025 17:59:40 -0500 Subject: [PATCH] Whoops --- MiraAPI/Roles/ICustomRole.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Roles/ICustomRole.cs b/MiraAPI/Roles/ICustomRole.cs index 63642cb..b42c9e3 100644 --- a/MiraAPI/Roles/ICustomRole.cs +++ b/MiraAPI/Roles/ICustomRole.cs @@ -135,7 +135,7 @@ public interface ICustomRole /// Whether they can see the role (name color) or not. public virtual bool CanLocalPlayerSeeRole(PlayerControl player) { - return (Team == ModdedRoleTeams.Impostor && player.Data.Role.IsImpostor) || PlayerControl.LocalPlayer.Data.IsDead; + return (PlayerControl.LocalPlayer.Data.Role.IsImpostor && player.Data.Role.IsImpostor) || PlayerControl.LocalPlayer.Data.IsDead; } ///