We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 517cf45 commit f82d4f2Copy full SHA for f82d4f2
com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
@@ -1721,7 +1721,7 @@ private void OnDestroy()
1721
return;
1722
}
1723
1724
- // An authorized destroy is when done by the authority instance or done due to a a scene event and the NetworkObject
+ // An authorized destroy is when done by the authority instance or done due to a scene event and the NetworkObject
1725
// was marked as destroy pending scene event (which means the destroy with scene property was set).
1726
var isAuthorityDestroy = HasAuthority || NetworkManager.DAHost || DestroyPendingSceneEvent;
1727
0 commit comments