mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Tests: SerializeAndDeserializeObjectsDelta doesn't rely on host mode anymore
This commit is contained in:
parent
3772f0b8e3
commit
5ba53185f2
@ -827,9 +827,10 @@ public void SerializeAndDeserializeObjectsDelta()
|
||||
// SyncLists are only set dirty while owner has observers.
|
||||
// need a connection.
|
||||
NetworkServer.Listen(1);
|
||||
ConnectHostClientBlockingAuthenticatedAndReady();
|
||||
ConnectClientBlockingAuthenticatedAndReady(out _);
|
||||
|
||||
CreateNetworkedAndSpawn(out GameObject _, out NetworkIdentity _, out NetworkBehaviourWithSyncVarsAndCollections comp);
|
||||
CreateNetworkedAndSpawn(out _, out _, out NetworkBehaviourWithSyncVarsAndCollections comp,
|
||||
out _, out _, out _);
|
||||
|
||||
// add to synclist
|
||||
comp.list.Add(42);
|
||||
|
Loading…
Reference in New Issue
Block a user