mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
4ce55f585c
commit
a5224ecd10
@ -764,14 +764,13 @@ internal static bool InvokeUnSpawnHandler(Guid assetId, GameObject obj)
|
||||
// the players object for example.
|
||||
public static bool Ready(NetworkConnection conn)
|
||||
{
|
||||
// Debug.Log("NetworkClient.Ready() called with connection [" + conn + "]");
|
||||
if (ready)
|
||||
{
|
||||
Debug.LogError("NetworkClient is already ready. It shouldn't be called twice.");
|
||||
return false;
|
||||
}
|
||||
|
||||
// Debug.Log("NetworkClient.Ready() called with connection [" + conn + "]");
|
||||
|
||||
if (conn != null)
|
||||
{
|
||||
// Set these before sending the ReadyMessage, otherwise host client
|
||||
|
Loading…
Reference in New Issue
Block a user