Skip to content

Commit 868a424

Browse files
style
Fixing issue with improperly formatted script when UNIFIED_NETCODE is not defined.
1 parent 1d4e514 commit 868a424

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,13 +478,12 @@ public void NetworkUpdate(NetworkUpdateStage updateStage)
478478
SceneManager.CheckForAndSendNetworkObjectSceneChanged();
479479
#if UNIFIED_NETCODE
480480
if (!NetworkConfig.Prefabs.HasGhostPrefabs)
481-
{
482481
#endif
482+
{
483+
483484
// Process outbound messages
484485
MessageManager.ProcessSendQueues();
485-
#if UNIFIED_NETCODE
486486
}
487-
#endif
488487

489488
// Metrics update needs to be driven by NetworkConnectionManager's update to assure metrics are dispatched after the send queue is processed.
490489
MetricsManager.UpdateMetrics();

0 commit comments

Comments
 (0)