mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
Whoops
This commit is contained in:
1 parent
2bb1d41e65
commit
2b1db0ee24
1 file changed
+1
-1
@@ -135,7 +135,7 @@ public interface ICustomRole
|
||||
/// <returns>Whether they can see the role (name color) or not.</returns>
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user