mirror of
https://github.com/Kaveinator/NetickProForUnity.git
synced 2025-10-26 09:49:06 -07:00
Merge branch 'master' of https://github.com/karrarrahim/NetickProForUnity
This commit is contained in:
@@ -120,9 +120,8 @@ namespace Netick.Transport
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int len = request.Data.AvailableBytes;
|
request.Data.GetBytes(_connectionBytes, 0, request.Data.AvailableBytes);
|
||||||
request.Data.GetBytes(_connectionBytes, 0, len);
|
bool accepted = NetworkPeer.OnConnectRequest(_connectionBytes, request.Data.AvailableBytes, request.RemoteEndPoint.ToNetickEndPoint());
|
||||||
bool accepted = NetworkPeer.OnConnectRequest(_connectionBytes, len, request.RemoteEndPoint.ToNetickEndPoint());
|
|
||||||
|
|
||||||
if (accepted)
|
if (accepted)
|
||||||
request.Accept();
|
request.Accept();
|
||||||
|
|||||||
Reference in New Issue
Block a user