add comment

This commit is contained in:
vis2k 2020-01-05 19:12:34 +01:00
parent f7500a2a82
commit 7f7658ad75

View File

@ -498,8 +498,10 @@ public virtual void StartHost()
NetworkServer.SpawnObjects();
}
// connect client and call OnStartClient AFTER any possible server
// scene changes.
// connect client and call OnStartClient AFTER host server was fully
// started (after online scene change and SpawnObjects).
// -> do not call this before, we don't want to start the host
// client before the server is fully running.
StartHostClient();
}