Skip to content

Commit

Permalink
fix: Removed NetworkClient.Update because NetworkManager does it in L…
Browse files Browse the repository at this point in the history
…ateUpdate
  • Loading branch information
Chris Langsenkamp committed Apr 22, 2020
1 parent bdec276 commit 984945e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Assets/Mirror/Tests/Editor/NetworkServerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,9 @@ public void ShutdownCleanupTest()
[Test]
public void ResetTest()
{
#pragma warning disable CS0618 // Type or member is obsolete
NetworkServer.Reset();
#pragma warning restore CS0618 // Type or member is obsolete
Assert.That(NetworkServer.active, Is.False);
}
}
Expand Down
4 changes: 0 additions & 4 deletions Assets/Mirror/Tests/Runtime/HostSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ public IEnumerator SetupHost()
yield return null;

manager.StartHost();

yield return null;

NetworkClient.Update();
}

[TearDown]
Expand Down

0 comments on commit 984945e

Please sign in to comment.