diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs index 8ed8470e62..93042427b6 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs @@ -85,8 +85,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic else if (chatTraits != null) { var text = chatText.Text.Trim(); + var from = world.IsReplay ? null : orderManager.LocalClient.Name; foreach (var trait in chatTraits) - trait.OnChat(orderManager.LocalClient.Name, text); + trait.OnChat(from, text); } }