Hotfix 0.15.23.0

This commit is contained in:
Markus Isberg
2022-01-11 23:47:46 +09:00
parent e2ce85884e
commit d9baeaa2e1
13 changed files with 22 additions and 9 deletions
@@ -323,9 +323,10 @@ namespace Barotrauma
}
break;
case 1: //NetEntityEvent.Type.Control
bool myCharacter = msg.ReadBoolean();
byte ownerID = msg.ReadByte();
ResetNetState();
if (ownerID == GameMain.Client.ID)
if (myCharacter)
{
if (controlled != null)
{