mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkTransformReliable - disabled sending last snapshot
This commit is contained in:
parent
cfdd241e8a
commit
3acd342a86
@ -178,11 +178,11 @@ public override void OnSerialize(NetworkWriter writer, bool initialState)
|
||||
// for interpolated client owned identities,
|
||||
// always broadcast the latest known snapshot so other clients can
|
||||
// interpolate immediately instead of catching up too
|
||||
if (SkipQueue())
|
||||
{
|
||||
snapshot = serverSnapshots.Values[serverSnapshots.Count - 1];
|
||||
// Debug.Log($"Skipped snapshot queue for {name} to snapshot[{serverSnapshots.Count-1}]");
|
||||
}
|
||||
//if (SkipQueue())
|
||||
//{
|
||||
// snapshot = serverSnapshots.Values[serverSnapshots.Count - 1];
|
||||
// // Debug.Log($"Skipped snapshot queue for {name} to snapshot[{serverSnapshots.Count-1}]");
|
||||
//}
|
||||
|
||||
// TODO dirty mask? [compression is very good w/o it already]
|
||||
// each vector's component is delta compressed.
|
||||
|
Loading…
Reference in New Issue
Block a user