mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
add comment
This commit is contained in:
parent
694185b756
commit
1d166c699a
@ -681,6 +681,7 @@ public static bool AddPlayerForConnection(NetworkConnection conn, GameObject pla
|
||||
// Set the connection on the NetworkIdentity on the server, NetworkIdentity.SetLocalPlayer is not called on the server (it is on clients)
|
||||
identity.connectionToClient = conn;
|
||||
|
||||
// set ready if not set yet
|
||||
SetClientReady(conn);
|
||||
|
||||
if (SetupLocalPlayerForConnection(conn, identity))
|
||||
|
Loading…
Reference in New Issue
Block a user