fix: Removed NetworkClient.Update because NetworkManager does it in LateUpdate

This commit is contained in:
Chris Langsenkamp 2020-04-22 06:34:34 -04:00
parent bdec276282
commit 984945e482
2 changed files with 2 additions and 4 deletions

View File

@ -1081,7 +1081,9 @@ public void ShutdownCleanupTest()
[Test] [Test]
public void ResetTest() public void ResetTest()
{ {
#pragma warning disable CS0618 // Type or member is obsolete
NetworkServer.Reset(); NetworkServer.Reset();
#pragma warning restore CS0618 // Type or member is obsolete
Assert.That(NetworkServer.active, Is.False); Assert.That(NetworkServer.active, Is.False);
} }
} }

View File

@ -31,10 +31,6 @@ public IEnumerator SetupHost()
yield return null; yield return null;
manager.StartHost(); manager.StartHost();
yield return null;
NetworkClient.Update();
} }
[TearDown] [TearDown]