Skip to content

Commit a166482

Browse files
committed
Removing comments (added in PR)
1 parent 0ebab51 commit a166482

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3413,8 +3413,7 @@ internal void SubscribeToActiveSceneForSynch()
34133413
/// </summary>
34143414
private void CurrentlyActiveSceneChanged(Scene current, Scene next)
34153415
{
3416-
// TODO should we remove NetworkManager null check here?
3417-
// Early exit if there is no NetworkManager assigned, the NetworkManager is shutting down, the NetworkObject
3416+
// Early exit if the NetworkManager is shutting down, the NetworkObject
34183417
// is not spawned, or an in-scene placed NetworkObject
34193418
if (NetworkManager.ShutdownInProgress || !IsSpawned || IsSceneObject != false)
34203419
{
@@ -3515,8 +3514,7 @@ private void Awake()
35153514
/// </remarks>
35163515
internal bool UpdateForSceneChanges()
35173516
{
3518-
// TODO should we remove NetworkManager null check here?
3519-
// Early exit if SceneMigrationSynchronization is disabled, there is no NetworkManager assigned,
3517+
// Early exit if SceneMigrationSynchronization is disabled,
35203518
// the NetworkManager is shutting down, the NetworkObject is not spawned, it is an in-scene placed
35213519
// NetworkObject, or the GameObject's current scene handle is the same as the SceneOriginHandle
35223520
if (!SceneMigrationSynchronization || !IsSpawned || NetworkManager.ShutdownInProgress ||

0 commit comments

Comments
 (0)