Fix global chat history buffer timestamps.

This commit is contained in:
Paul Chote
2017-09-24 20:51:40 +01:00
committed by reaperrr
parent 9aaf800bca
commit fa8ab19dfd
3 changed files with 3 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var color = message.Type == ChatMessageType.Notification ? ChromeMetrics.Get<Color>("GlobalChatNotificationColor")
: ChromeMetrics.Get<Color>("GlobalChatPlayerNameColor");
var template = (ContainerWidget)chatTemplate.Clone();
LobbyUtils.SetupChatLine(template, color, from, message.Message);
LobbyUtils.SetupChatLine(template, color, message.Time, from, message.Message);
template.Id = message.UID;
return template;