File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
com.unity.netcode.gameobjects/TestHelpers/Runtime Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ public enum HostOrServer
147147 protected NetworkManager [ ] m_NetworkManagers ;
148148
149149 /// <summary>
150- /// Gets the current authority.
150+ /// Gets the current authority of the network session .
151151 /// When using the hosted CMB service this will be the client who is the session owner.
152152 /// Otherwise, returns the server <see cref="NetworkManager"/>
153153 /// </summary>
@@ -359,6 +359,7 @@ protected virtual void OnOneTimeSetup()
359359 public void OneTimeSetup ( )
360360 {
361361 Application . runInBackground = true ;
362+ m_NumberOfClients = NumberOfClients ;
362363 IsRunning = true ;
363364 m_EnableVerboseDebug = OnSetVerboseDebug ( ) ;
364365 IntegrationTestSceneHandler . VerboseDebugMode = m_EnableVerboseDebug ;
@@ -414,7 +415,6 @@ public IEnumerator SetUp()
414415 {
415416 VerboseDebugLog . Clear ( ) ;
416417 VerboseDebug ( $ "Entering { nameof ( SetUp ) } ") ;
417- m_NumberOfClients = NumberOfClients ;
418418 NetcodeLogAssert = new NetcodeLogAssert ( ) ;
419419 if ( m_EnableTimeTravel )
420420 {
You can’t perform that action at this time.
0 commit comments