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

@@ -526,7 +526,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
flag.GetImageName = () => player.Faction.InternalName;
var playerName = template.Get<LabelWidget>("PLAYER");
WidgetUtils.AddSuffixToPlayerNameLabel(playerName, player);
WidgetUtils.BindPlayerNameAndStatus(playerName, player);
playerName.GetColor = () => player.Color;
}