Add suffix to player name in shroud selector

This commit is contained in:
Ivaylo Draganov
2020-05-18 17:53:40 +03:00
committed by Paul Chote
parent 7a213338a2
commit 31a965b29a
13 changed files with 37 additions and 24 deletions

View File

@@ -93,7 +93,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
LobbyUtils.SetupProfileWidget(item, client, orderManager, worldRenderer);
var nameLabel = item.Get<LabelWidget>("NAME");
WidgetUtils.AddSuffixToPlayerNameLabel(nameLabel, pp);
WidgetUtils.BindPlayerNameAndStatus(nameLabel, pp);
nameLabel.GetColor = () => pp.Color;
var flag = item.Get<ImageWidget>("FACTIONFLAG");