mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkServer.AddLocalClient: reused OnConnected
This commit is contained in:
parent
81ecf61eed
commit
fd561db9c2
@ -142,8 +142,7 @@ internal static int AddLocalClient(LocalClient localClient)
|
|||||||
connectionId = 0
|
connectionId = 0
|
||||||
};
|
};
|
||||||
AddConnection(s_LocalConnection);
|
AddConnection(s_LocalConnection);
|
||||||
|
OnConnected(s_LocalConnection);
|
||||||
s_LocalConnection.InvokeHandlerNoData((short)MsgType.Connect);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user