Fixed occasional invalid object header errors when attempting to send a status NetworkEvent for a character (easy way to reproduce was to kill multiple characters during the same frame with an explosion).
This commit is contained in:
@@ -1045,7 +1045,6 @@ namespace Barotrauma.Networking
|
||||
fl.Close();
|
||||
|
||||
throw new Exception("Error while reading update from server: please send us \"crashreport_object.bin\"!");
|
||||
break;
|
||||
}
|
||||
prevObjHeader = objHeader;
|
||||
prevBitPos = inc.Position;
|
||||
|
||||
Reference in New Issue
Block a user