diff --git a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs index dc7448aab1..ac194508a6 100644 --- a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs +++ b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs @@ -63,7 +63,7 @@ namespace Content.Client.Communications.UI public void AnnounceButtonPressed(string message) { - var msg = (message.Length <= 256 ? message.Trim() : $"{message.Trim().Substring(0, 256)}...").ToCharArray(); + var msg = (message.Length <= 1024 ? message.Trim() : $"{message.Trim().Substring(0, 1024)}...").ToCharArray(); // WD EDIT // No more than 2 newlines, other replaced to spaces var newlines = 0; diff --git a/Content.Server/Communications/CommunicationsConsoleSystem.cs b/Content.Server/Communications/CommunicationsConsoleSystem.cs index 6ac6935a66..9a645663e3 100644 --- a/Content.Server/Communications/CommunicationsConsoleSystem.cs +++ b/Content.Server/Communications/CommunicationsConsoleSystem.cs @@ -37,7 +37,7 @@ namespace Content.Server.Communications [Dependency] private readonly IConfigurationManager _cfg = default!; [Dependency] private readonly IAdminLogManager _adminLogger = default!; - private const int MaxMessageLength = 256; + private const int MaxMessageLength = 1024; // WD EDIT private const int MaxMessageNewlines = 2; private const float UIUpdateInterval = 5.0f;