Fix bogus AdminNameOverlay Rider error (#35432)
This commit is contained in:
parent
4fa80ae2d8
commit
11d7546672
|
|
@ -85,7 +85,7 @@ internal sealed class AdminNameOverlay : Overlay
|
|||
{
|
||||
args.ScreenHandle.DrawString(_font, screenCoordinates + (lineoffset * 2), _antagLabelClassic, uiScale, _antagColorClassic);
|
||||
}
|
||||
else if (!classic && _filter.Contains(playerInfo.RoleProto.ID))
|
||||
else if (!classic && _filter.Contains(playerInfo.RoleProto))
|
||||
{
|
||||
var label = Loc.GetString(playerInfo.RoleProto.Name).ToUpper();
|
||||
var color = playerInfo.RoleProto.Color;
|
||||
|
|
|
|||
Loading…
Reference in New Issue