add comment

This commit is contained in:
vis2k 2019-03-22 12:24:22 +01:00
parent 694185b756
commit 1d166c699a

View File

@ -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))