From c7def33588cc738b8eef3c3890ea77067acaac63 Mon Sep 17 00:00:00 2001 From: abc013 Date: Sat, 3 Sep 2016 20:26:05 +0200 Subject: [PATCH] disabled chat input in replays --- OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs index cfedf4e051..83e789bd0e 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs @@ -130,6 +130,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic Game.BeforeGameStart += UnregisterEvents; CloseChat(); + chatText.IsDisabled = () => world.IsReplay; } bool SwitchTeamChat()