mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkServer.SetClientReadyInternal: use bool instead of var and use proper naming
This commit is contained in:
parent
3c6e2f65ad
commit
fbf5994159
@ -732,8 +732,8 @@ internal static void SetClientReadyInternal(NetworkConnection conn)
|
||||
// in the above SetLocalPlayer call
|
||||
if (identity.gameObject != null)
|
||||
{
|
||||
var vis = identity.OnCheckObserver(conn);
|
||||
if (vis)
|
||||
bool visible = identity.OnCheckObserver(conn);
|
||||
if (visible)
|
||||
{
|
||||
identity.AddObserver(conn);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user