Release 1.10.7.2 - Autumn Update 2025 Hotfix 4

This commit is contained in:
Regalis11
2025-10-22 14:54:03 +03:00
parent 37ffc94551
commit 7e25111487
17 changed files with 315 additions and 83 deletions
@@ -3815,7 +3815,10 @@ namespace Barotrauma.Networking
//let's adhere to those
foreach (Submarine sub in Submarine.Loaded.Take(5))
{
string subNameTruncated = sub.Info.Name.Length > 16 ? sub.Info.Name.Substring(0, 16) : sub.Info.Name;
string subNameTruncated =
sub.Info.Name.Length > MaxSubNameLengthInErrorMessages ?
sub.Info.Name.Substring(0, MaxSubNameLengthInErrorMessages) :
sub.Info.Name;
outMsg.WriteString(subNameTruncated);
}
break;