From 2bf6428eafe700861b03660269b0a6c96b265335 Mon Sep 17 00:00:00 2001 From: mischa <16416509+miwarnec@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:39:38 +0100 Subject: [PATCH] Update Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs Co-authored-by: MrGadget <9826063+MrGadget1024@users.noreply.github.com> --- .../Components/NetworkTransform/NetworkTransformHybrid2022.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs index 92118d49d..ab35196fa 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs @@ -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