mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
f0cf4e7e14
commit
e847344bde
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user