Skip to content

Commit

Permalink
Update NetworkTransform.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
duyca committed Oct 2, 2023
1 parent 488c9f0 commit ad43970
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,9 @@ private void Awake()
_interval = Math.Max(_interval, (byte)1);
}

private void OnDestroy()
protected override void OnDestroy()
{
base.OnDestroy();
if (_receivedClientData.Writer != null)
{
_receivedClientData.Writer.Store();
Expand Down

0 comments on commit ad43970

Please sign in to comment.