Skip to content

Commit

Permalink
chore: updating to mirage v123
Browse files Browse the repository at this point in the history
BREAKING CHANGE: now requires atleast mirage v123
  • Loading branch information
James-Frowen committed Apr 22, 2022
1 parent 646673d commit 8af44ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/SyncPositionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ internal void ClientHandleNetworkPositionMessage(NetworkPositionMessage msg)
if (ServerActive)
return;

using (PooledNetworkReader reader = NetworkReaderPool.GetReader(msg.payload))
using (PooledNetworkReader reader = NetworkReaderPool.GetReader(msg.payload, null))
{
float time = packer.UnpackTime(reader);

Expand All @@ -546,7 +546,7 @@ internal void ClientHandleNetworkPositionMessage(NetworkPositionMessage msg)
/// <param name="arg2"></param>
internal void ServerHandleNetworkPositionMessage(INetworkPlayer _, NetworkPositionSingleMessage msg)
{
using (PooledNetworkReader reader = NetworkReaderPool.GetReader(msg.payload))
using (PooledNetworkReader reader = NetworkReaderPool.GetReader(msg.payload, null))
{
//float time = packer.UnpackTime(reader);
packer.UnpackNext(reader, out uint id, out Vector3 pos, out Quaternion rot);
Expand Down

0 comments on commit 8af44ba

Please sign in to comment.