NetworkServer.AddLocalClient: reused OnConnected

This commit is contained in:
vis2k 2019-02-26 15:11:42 +01:00
parent 81ecf61eed
commit fd561db9c2

View File

@ -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;
} }