Release 1.8.7.0 - Calm Before the Storm Hotfix 1

This commit is contained in:
Regalis11
2025-04-16 12:46:39 +03:00
parent 38cce0c933
commit 1deef20f21
20 changed files with 103 additions and 53 deletions
@@ -66,7 +66,7 @@ namespace Barotrauma.Steam
Steamworks.SteamServer.Passworded = hasPassword;
return;
case string serverMessage when key == "message":
int maxValueLength = 255;
int maxValueLength = 127;
int totalMaxLength = 2000;
int chunkIndex = 0;
for (int charIndex = 0; charIndex < serverMessage.Length && charIndex < totalMaxLength; charIndex += maxValueLength)