File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
com.unity.netcode.gameobjects
Tests/Runtime/DistributedAuthority Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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>
Original file line number Diff line number Diff 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>
You can’t perform that action at this time.
0 commit comments