Skip to content

Commit 476939b

Browse files
committed
Revert "test for standards check"
This reverts commit d195290.
1 parent 4b97437 commit 476939b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,8 +2711,8 @@ internal bool ApplyNetworkParenting(bool removeParent = false, bool ignoreNotSpa
27112711
m_CachedWorldPositionStays = false;
27122712
return true;
27132713
}
2714-
else // If the parent still isn't spawned add this to the orphaned children and return false
2715-
if (!parentNetworkObject.IsSpawned)
2714+
// If the parent still isn't spawned add this to the orphaned children and return false
2715+
else if (!parentNetworkObject.IsSpawned)
27162716
{
27172717
OrphanChildren.Add(this);
27182718
return false;

0 commit comments

Comments
 (0)