From 0d6b03989ae8b776bade5c2a18cc1eef8565d43a Mon Sep 17 00:00:00 2001 From: vis2k Date: Fri, 22 Mar 2019 10:04:14 +0100 Subject: [PATCH] NetworkServer.InternalAddPlayerForConnection moved into AddPlayerForConnection because there is no reason to keep it in an internal method anymore, since NetworkServer is static now --- Assets/Mirror/Runtime/NetworkServer.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index 9145d129d..3ac2be3ec 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -600,15 +600,10 @@ public static bool AddPlayerForConnection(NetworkConnection conn, GameObject pla { identity.assetId = assetId; } - return InternalAddPlayerForConnection(conn, player); + return AddPlayerForConnection(conn, player); } public static bool AddPlayerForConnection(NetworkConnection conn, GameObject player) - { - return InternalAddPlayerForConnection(conn, player); - } - - internal static bool InternalAddPlayerForConnection(NetworkConnection conn, GameObject player) { NetworkIdentity identity = player.GetComponent(); if (identity == null)