mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
add comment
This commit is contained in:
parent
f7500a2a82
commit
7f7658ad75
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user