NetworkTransformReliable: remove unused 'lastClientCount'

This commit is contained in:
mischa 2024-07-27 14:03:56 +02:00 committed by MrGadget
parent ca27f3d6c9
commit 5b772a32f3

View File

@ -42,8 +42,6 @@ public class NetworkTransformReliable : NetworkTransformBase
// Used to store last sent snapshots
protected TransformSnapshot last;
protected int lastClientCount = 1;
// update //////////////////////////////////////////////////////////////
void Update()
{
@ -123,8 +121,6 @@ protected virtual void UpdateClient()
TransformSnapshot computed = TransformSnapshot.Interpolate(from, to, t);
Apply(computed, to);
}
lastClientCount = clientSnapshots.Count;
}
}