SyncVarTest: prepare for .spawned split. this is better.

This commit is contained in:
vis2k 2021-08-12 15:38:39 +08:00
parent cf3e7acc39
commit 4def515c9f

View File

@ -68,7 +68,10 @@ public override void SetUp()
// start server & connect client because we need spawn functions
NetworkServer.Listen(1);
ConnectHostClientBlockingAuthenticatedAndReady();
// we are testing server->client syncs.
// so we need truly separted server & client, not host.
ConnectClientBlockingAuthenticatedAndReady(out _);
}
[Test]