Skip to content

Commit 7fb3991

Browse files
style
removing unused property. renaming a local variable for consistency in naming.
1 parent f3f4be7 commit 7fb3991

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,10 +1700,10 @@ protected bool WaitForClientsConnectedOrTimeOutWithTimeTravel(NetworkManager[] c
17001700
{
17011701
var remoteClientCount = clientsToCheck.Length;
17021702
var authorityNetworkManager = GetAuthorityNetworkManager();
1703-
var serverClientCount = authorityNetworkManager.IsHost ? remoteClientCount + 1 : remoteClientCount;
1703+
var authorityClientCount = authorityNetworkManager.IsHost ? remoteClientCount + 1 : remoteClientCount;
17041704

17051705
return WaitForConditionOrTimeOutWithTimeTravel(() => clientsToCheck.Where((c) => c.IsConnectedClient).Count() == remoteClientCount &&
1706-
authorityNetworkManager.ConnectedClients.Count == serverClientCount);
1706+
authorityNetworkManager.ConnectedClients.Count == authorityClientCount);
17071707
}
17081708

17091709
/// <summary>

com.unity.netcode.gameobjects/Tests/Runtime/DistributedAuthority/DistributedAuthorityCodecTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ internal class DistributedAuthorityCodecTests : NetcodeIntegrationTest
4545
private static readonly ushort k_TransportPort = GetPortToBind();
4646
private const int k_ClientId = 0;
4747

48-
private GameObject m_TestPrefab;
49-
5048
/// <summary>
5149
/// Configures the port to look for the rust echo-server.
5250
/// </summary>

0 commit comments

Comments
 (0)