mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50: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();
|
||||
NetworkClient.Send(message);
|
||||
|
||||
// update client & server so batches are flushed
|
||||
NetworkClient.NetworkLateUpdate();
|
||||
NetworkServer.NetworkLateUpdate();
|
||||
|
||||
// update transport so data event is processed
|
||||
UpdateTransport();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user