File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
com.unity.netcode.gameobjects/Runtime/NetworkVariable/Collections Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ internal override void OnSpawned()
6767 // -- The last sent time plus the max send time period is less than the current time.
6868 // - User script has modified the list during spawn.
6969 // - This instance is on the spawn authority side.
70- // Then by the time the NetworkObject is finished spawning (on the same frame), then go
71- // ahead and reset the dirty related properties and last sent time to prevent duplicate
72- // entries from being sent (i.e. CreateObjectMessage will contain the changes so we
73- // don't need to send a proceeding NetworkVariableDeltaMessage).
70+ // When the NetworkObject is finished spawning (on the same frame), go ahead and reset
71+ // the dirty related properties and last sent time to prevent duplicate entries from
72+ // being sent (i.e. CreateObjectMessage will contain the changes so we don't need to
73+ // send a proceeding NetworkVariableDeltaMessage).
7474 if ( IsDirty ( ) && CanSend ( ) && m_NetworkBehaviour . HasAuthority )
7575 {
7676 UpdateLastSentTime ( ) ;
You can’t perform that action at this time.
0 commit comments