mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: Removed NetworkClient.Update because NetworkManager does it in LateUpdate
This commit is contained in:
parent
bdec276282
commit
984945e482
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,10 +31,6 @@ public IEnumerator SetupHost()
|
|||||||
yield return null;
|
yield return null;
|
||||||
|
|
||||||
manager.StartHost();
|
manager.StartHost();
|
||||||
|
|
||||||
yield return null;
|
|
||||||
|
|
||||||
NetworkClient.Update();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[TearDown]
|
[TearDown]
|
||||||
|
Loading…
Reference in New Issue
Block a user