Skip to content

Commit 92e027a

Browse files
style
adding comment
1 parent 5862d9d commit 92e027a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com.unity.netcode.gameobjects/Runtime/NetworkVariable/AnticipatedNetworkVariable.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ public override void ReadField(FastBufferReader reader)
387387
public override void ReadDelta(FastBufferReader reader, bool keepDirtyDelta)
388388
{
389389
m_AuthoritativeValue.ReadDelta(reader, keepDirtyDelta);
390+
// Assure that the post delta read is invoked in order to update
391+
// previous value.
390392
m_AuthoritativeValue.PostDeltaRead();
391393
}
392394
}

0 commit comments

Comments
 (0)