File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
testproject-tools-integration/Assets/Tests/Runtime Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public IEnumerator TestS2CLoadSent()
4848 // the message is sent to the client. AsyncOperation is the ScceneManager.LoadSceneAsync operation.
4949 m_ServerNetworkSceneManager . OnSceneEvent += sceneEvent =>
5050 {
51- if ( sceneEvent . SceneEventType . Equals ( SceneEventType . LoadComplete ) && & & sceneEvent . ClientId == Server . LocalClientId )
51+ if ( sceneEvent . SceneEventType . Equals ( SceneEventType . LoadComplete ) && sceneEvent . ClientId == Server . LocalClientId )
5252 {
5353 serverSceneLoaded = true ;
5454 }
@@ -250,9 +250,9 @@ public IEnumerator TestS2CUnloadSent()
250250 // as this is when the message is sent
251251 m_ServerNetworkSceneManager . OnSceneEvent += sceneEvent =>
252252 {
253- if ( sceneEvent . SceneEventType . Equals ( SceneEventType . LoadComplete ) && & & sceneEvent . ClientId == Server . LocalClientId )
253+ if ( sceneEvent . SceneEventType . Equals ( SceneEventType . LoadComplete ) && sceneEvent . ClientId == Server . LocalClientId )
254254 {
255- serverSceneLoaded = true ;
255+ serverSceneUnloaded = true ;
256256 }
257257 } ;
258258
Original file line number Diff line number Diff line change 88 "Unity.Multiplayer.NetStats",
99 "Unity.Multiplayer.Tools.MetricTypes",
1010 "Unity.Multiplayer.Tools.NetStats",
11- "UnityEngine.TestRunner"
11+ "UnityEngine.TestRunner",
1212 "Unity.Collections"
1313 ],
1414 "includePlatforms": [],
You can’t perform that action at this time.
0 commit comments