Fix bogus AdminNameOverlay Rider error (#35432)
This commit is contained in:
committed by
GitHub
parent
6f925dd610
commit
05de5bd3eb
@@ -85,7 +85,7 @@ internal sealed class AdminNameOverlay : Overlay
|
|||||||
{
|
{
|
||||||
args.ScreenHandle.DrawString(_font, screenCoordinates + (lineoffset * 2), _antagLabelClassic, uiScale, _antagColorClassic);
|
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 label = Loc.GetString(playerInfo.RoleProto.Name).ToUpper();
|
||||||
var color = playerInfo.RoleProto.Color;
|
var color = playerInfo.RoleProto.Color;
|
||||||
|
|||||||
Reference in New Issue
Block a user