Skip to content

Commit

Permalink
Fix: Syntax Error in testproject-tools-integration
Browse files Browse the repository at this point in the history
  • Loading branch information
fluong6 committed Feb 24, 2022
1 parent 2787ac5 commit b1353c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public IEnumerator TestS2CLoadSent()
// the message is sent to the client. AsyncOperation is the ScceneManager.LoadSceneAsync operation.
m_ServerNetworkSceneManager.OnSceneEvent += sceneEvent =>
{
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && && sceneEvent.ClientId == Server.LocalClientId)
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && sceneEvent.ClientId == Server.LocalClientId)
{
serverSceneLoaded = true;
}
Expand Down Expand Up @@ -250,9 +250,9 @@ public IEnumerator TestS2CUnloadSent()
// as this is when the message is sent
m_ServerNetworkSceneManager.OnSceneEvent += sceneEvent =>
{
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && && sceneEvent.ClientId == Server.LocalClientId)
if (sceneEvent.SceneEventType.Equals(SceneEventType.LoadComplete) && sceneEvent.ClientId == Server.LocalClientId)
{
serverSceneLoaded = true;
serverSceneUnloaded = true;
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Unity.Multiplayer.NetStats",
"Unity.Multiplayer.Tools.MetricTypes",
"Unity.Multiplayer.Tools.NetStats",
"UnityEngine.TestRunner"
"UnityEngine.TestRunner",
"Unity.Collections"
],
"includePlatforms": [],
Expand Down

0 comments on commit b1353c5

Please sign in to comment.