Clear xuids before connecting

This commit is contained in:
momo5502 2023-04-17 20:08:49 +02:00
parent 6c07d84e23
commit fa144b7dd6

View File

@ -135,6 +135,11 @@ namespace auth
int send_connect_data_stub(const game::netsrc_t sock, game::netadr_t* adr, const char* data, const int len)
{
for (auto& xuid : client_xuids)
{
xuid = 0;
}
try
{
const auto is_connect_sequence = len >= 7 && strncmp("connect", data, 7) == 0;