Fix player name color in lobby chat.

This commit is contained in:
Paul Chote
2011-07-09 16:48:17 +12:00
parent 562931196f
commit 3f468353fc

View File

@@ -252,7 +252,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
template.GetWidget<LabelWidget>("TIME").GetText = () => "[{0:D2}:{1:D2}]".F(time.Hour, time.Minute);
var p = template.GetWidget<LabelWidget>("NAME");
p.Color = c;
p.GetColor = () => c;
p.GetText = () => name;
p.Bounds.Width = nameSize.X;