Minor networking fixes
- Don't spam the shit out of status updates (TODO: send update immediately on drastic changes) - Fixed some potential message misreading - Readded homoglyph name comparison
This commit is contained in:
@@ -145,6 +145,10 @@ namespace Barotrauma
|
||||
|
||||
float rotation = msg.ReadFloat();
|
||||
|
||||
ReadStatus(msg);
|
||||
|
||||
msg.ReadPadBits();
|
||||
|
||||
int index = 0;
|
||||
if (GameMain.NetworkMember.Character == this)
|
||||
{
|
||||
@@ -193,9 +197,6 @@ namespace Barotrauma
|
||||
IsRemotePlayer = ownerID > 0;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
ReadStatus(msg);
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user