mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkServer.InternalAddPlayerForConnection moved into AddPlayerForConnection because there is no reason to keep it in an internal method anymore, since NetworkServer is static now
This commit is contained in:
parent
fb2131207c
commit
0d6b03989a
@ -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<NetworkIdentity>();
|
||||
if (identity == null)
|
||||
|
Loading…
Reference in New Issue
Block a user