This commit is contained in:
vis2k 2019-11-23 11:59:04 +09:00
parent f0cf4e7e14
commit e847344bde

View File

@ -901,7 +901,7 @@ internal static bool InternalReplacePlayerForConnection(NetworkConnection conn,
conn.identity = identity; conn.identity = identity;
// Set the connection on the NetworkIdentity on the server, NetworkIdentity.SetLocalPlayer is not called on the server (it is on clients) // Set the connection on the NetworkIdentity on the server, NetworkIdentity.SetLocalPlayer is not called on the server (it is on clients)
identity.connectionToClient = (Mirror.NetworkConnectionToClient)conn; identity.connectionToClient = (NetworkConnectionToClient)conn;
//NOTE: DONT set connection ready. //NOTE: DONT set connection ready.