mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Update Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs
Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com>
This commit is contained in:
parent
5f841da317
commit
2bf6428eaf
@ -278,7 +278,7 @@ protected virtual void OnClientToServerDeltaSync(byte baselineTick, Vector3? pos
|
||||
// only apply if in client authority mode
|
||||
if (syncDirection != SyncDirection.ClientToServer) return;
|
||||
|
||||
// protect against ever growing buffer size attacks
|
||||
// protect against ever-growing buffer size attacks
|
||||
if (serverSnapshots.Count >= connectionToClient.snapshotBufferSizeLimit) return;
|
||||
|
||||
// only player owned objects (with a connection) can send to
|
||||
|
Loading…
Reference in New Issue
Block a user