From 1d166c699a707205fe51d987d1f084ba465935ef Mon Sep 17 00:00:00 2001 From: vis2k Date: Fri, 22 Mar 2019 12:24:22 +0100 Subject: [PATCH] add comment --- Assets/Mirror/Runtime/NetworkServer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 25bc22126..04a10cc2e 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -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))