fix comment

This commit is contained in:
mischa 2024-07-12 21:09:55 +02:00
parent 9a37b26f27
commit 794c9a2350

View File

@ -1129,7 +1129,7 @@ public virtual void OnDeserialize(NetworkReader reader, bool initialState)
void SerializeSyncObjects(NetworkWriter writer, 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 // otherwise write dirtyBits+dirty SyncVars
if (initialState) if (initialState)
SerializeObjectsAll(writer); SerializeObjectsAll(writer);