diff --git a/Assets/Scripts/TeaNet/Peers/ConnectionManager.cs b/Assets/Scripts/TeaNet/Peers/ConnectionManager.cs index 325a46f..1fdd37b 100644 --- a/Assets/Scripts/TeaNet/Peers/ConnectionManager.cs +++ b/Assets/Scripts/TeaNet/Peers/ConnectionManager.cs @@ -84,6 +84,7 @@ namespace NeonTea.Quakeball.TeaNet.Peers { return; } Connection conn = Connections[uid]; + p = p.ShallowCopy(); p.Id = conn.Internal.UnreliablePacketIDCounter++; p.Reliable = false; Protocol protocol = Peer.GetProtocol(conn.Internal.AssignedProtocol);