mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
update comment
This commit is contained in:
parent
45a8e6367b
commit
4c6805cf86
@ -6,7 +6,7 @@
|
||||
namespace Mirror
|
||||
{
|
||||
/// <summary>
|
||||
/// The NetworkServer uses a NetworkServerSimple for basic network functionality and adds more game-like functionality.
|
||||
/// The NetworkServer.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>NetworkServer handles remote connections from remote clients via a NetworkServerSimple instance, and also has a local connection for a local client.</para>
|
||||
@ -1035,7 +1035,7 @@ internal static void SpawnObject(GameObject obj, NetworkConnection ownerConnecti
|
||||
// on start server in host mode
|
||||
if (ownerConnection is ULocalConnectionToClient)
|
||||
identity.hasAuthority = true;
|
||||
|
||||
|
||||
identity.OnStartServer();
|
||||
|
||||
if (LogFilter.Debug) Debug.Log("SpawnObject instance ID " + identity.netId + " asset ID " + identity.assetId);
|
||||
|
Loading…
Reference in New Issue
Block a user