Don't disable chat in replays

This commit is contained in:
Gustas
2022-11-01 12:51:31 +02:00
committed by abcdefg30
parent 4ecf4f9f3f
commit 33a1bb8e6b
3 changed files with 4 additions and 3 deletions

View File

@@ -53,7 +53,8 @@ namespace OpenRA.Network
case "DisableChatEntry":
{
// Order must originate from the server
if (clientId != 0)
// Don't disable chat in replays
if (clientId != 0 || (world != null && world.IsReplay))
break;
// Server may send MaxValue to indicate that it is disabled until further notice