diff --git a/Assets/Scripts/Behaviours/Ped/DeadBody.cs b/Assets/Scripts/Behaviours/Ped/DeadBody.cs index 398c0654..cd89498c 100644 --- a/Assets/Scripts/Behaviours/Ped/DeadBody.cs +++ b/Assets/Scripts/Behaviours/Ped/DeadBody.cs @@ -136,6 +136,9 @@ namespace SanAndreasUnity.Behaviours.Peds if (initialState) writer.Write(m_net_modelId); + byte flags = 0; + writer.Write(flags); + Dictionary bonesDict = initialState ? m_framesDict : m_rigidBodiesDict; bool checkRigidBodyForNull = initialState; @@ -167,6 +170,8 @@ namespace SanAndreasUnity.Behaviours.Peds if (initialState) m_net_modelId = reader.ReadInt32(); + byte flags = reader.ReadByte(); + byte count = reader.ReadByte(); m_bonesSyncData.EnsureCount(count);