mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix NetworkClientTests.Send() test
This commit is contained in:
parent
4a03c3034e
commit
0d7edde710
@ -94,6 +94,10 @@ public void Send()
|
|||||||
AddPlayerMessage message = new AddPlayerMessage();
|
AddPlayerMessage message = new AddPlayerMessage();
|
||||||
NetworkClient.Send(message);
|
NetworkClient.Send(message);
|
||||||
|
|
||||||
|
// update client & server so batches are flushed
|
||||||
|
NetworkClient.NetworkLateUpdate();
|
||||||
|
NetworkServer.NetworkLateUpdate();
|
||||||
|
|
||||||
// update transport so data event is processed
|
// update transport so data event is processed
|
||||||
UpdateTransport();
|
UpdateTransport();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user