Skip to content

Commit 1addd81

Browse files
committed
Fix vetting test
1 parent 329762a commit 1addd81

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ private void Awake()
10541054
{
10551055
if (Log == null)
10561056
{
1057-
Log = new ContextualLogger(this, this);
1057+
Log = new ContextualLogger(this, false);
10581058
}
10591059

10601060
NetworkConfig?.InitializePrefabs();
@@ -1824,7 +1824,7 @@ internal void OnValidate()
18241824

18251825
if (Log == null)
18261826
{
1827-
Log = new ContextualLogger(this, this);
1827+
Log = new ContextualLogger(this, false);
18281828
}
18291829

18301830
// Do a validation pass on NetworkConfig properties

com.unity.netcode.gameobjects/Runtime/Logging/ContextualLogger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ContextualLogger(Object inspectorObject, [NotNull] NetworkManager network
6060
}
6161

6262
/// Used for the NetworkLog
63-
internal ContextualLogger(NetworkManager networkManager, bool useCompatibilityMode)
63+
internal ContextualLogger(NetworkManager networkManager, bool useCompatibilityMode)
6464
{
6565
m_UseCompatibilityMode = useCompatibilityMode;
6666
m_ManagerContext = new LogContextNetworkManager(networkManager);

0 commit comments

Comments
 (0)