Skip to content

Commit 3787865

Browse files
committed
Remove unnecessary changes
1 parent dc3d313 commit 3787865

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

com.unity.netcode.gameobjects/Runtime/Configuration/SessionConfig.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ internal class SessionConfig
1010
public const uint ServerDistributionCompatible = 2;
1111
public const uint SessionStateToken = 3;
1212
public const uint NetworkBehaviourSerializationSafety = 4;
13-
public const uint FixConnectionFlow = 5;
1413

1514
// The most current session version (!!!!set this when you increment!!!!!)
16-
public static uint PackageSessionVersion => FixConnectionFlow;
15+
public static uint PackageSessionVersion => NetworkBehaviourSerializationSafety;
1716

1817
internal uint SessionVersion;
1918

com.unity.netcode.gameobjects/TestHelpers/Runtime/NetcodeIntegrationTest.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,6 @@ protected NetworkManager GetAuthorityNetworkManager()
206206
/// <returns>A <see cref="NetworkManager"/> instance that will not be the session owner</returns>
207207
protected NetworkManager GetNonAuthorityNetworkManager()
208208
{
209-
// If we haven't even started any NetworkManager, then return the assumed first non-authority NetworkManager
210-
if (!NetcodeIntegrationTestHelpers.IsStarted)
211-
{
212-
return m_UseCmbService ? m_ClientNetworkManagers[1] : m_ClientNetworkManagers[0];
213-
}
214-
215209
return m_ClientNetworkManagers.First(client => !client.LocalClient.IsSessionOwner);
216210
}
217211

0 commit comments

Comments
 (0)