From 794c9a2350169fe27e1d39643809236075df5734 Mon Sep 17 00:00:00 2001 From: mischa Date: Fri, 12 Jul 2024 21:09:55 +0200 Subject: [PATCH] fix comment --- Assets/Mirror/Core/NetworkBehaviour.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Core/NetworkBehaviour.cs b/Assets/Mirror/Core/NetworkBehaviour.cs index bec39b9f3..f76a4a389 100644 --- a/Assets/Mirror/Core/NetworkBehaviour.cs +++ b/Assets/Mirror/Core/NetworkBehaviour.cs @@ -1129,7 +1129,7 @@ public virtual void OnDeserialize(NetworkReader reader, bool initialState) void SerializeSyncObjects(NetworkWriter writer, bool initialState) { - // if initialState: write all SyncVars. + // if initialState: write all SyncObjects (SyncList/Set/etc) // otherwise write dirtyBits+dirty SyncVars if (initialState) SerializeObjectsAll(writer);