v1.5.9.1 (Summer Update Hotfix 2)

This commit is contained in:
Regalis11
2024-06-27 16:46:33 +03:00
parent 85e5d806e6
commit 4f556236b8
31 changed files with 410 additions and 131 deletions
@@ -357,6 +357,7 @@ namespace Barotrauma
case EventType.Control:
bool myCharacter = msg.ReadBoolean();
byte ownerID = msg.ReadByte();
bool renamingEnabled = msg.ReadBoolean();
ResetNetState();
if (myCharacter)
{
@@ -385,6 +386,10 @@ namespace Barotrauma
}
IsRemotePlayer = ownerID > 0;
}
if (info != null)
{
info.RenamingEnabled = renamingEnabled;
}
break;
case EventType.Status:
ReadStatus(msg);