Small cleanup
This commit is contained in:
parent
4cab2a73bd
commit
7f908163ca
@ -165,7 +165,7 @@ namespace auth
|
|||||||
buffer.write(static_cast<uint32_t>(player_index));
|
buffer.write(static_cast<uint32_t>(player_index));
|
||||||
buffer.write(xuid);
|
buffer.write(xuid);
|
||||||
|
|
||||||
game::foreach_connected_client([&](const game::client_s& client, size_t index)
|
game::foreach_connected_client([&](const game::client_s& client, const size_t index)
|
||||||
{
|
{
|
||||||
if (client.address.type != game::NA_BOT)
|
if (client.address.type != game::NA_BOT)
|
||||||
{
|
{
|
||||||
@ -195,7 +195,7 @@ namespace auth
|
|||||||
const auto xuid = strtoull(info_string.get("xuid").data(), nullptr, 16);
|
const auto xuid = strtoull(info_string.get("xuid").data(), nullptr, 16);
|
||||||
|
|
||||||
size_t player_index = 18;
|
size_t player_index = 18;
|
||||||
game::foreach_connected_client([&](game::client_s& client, size_t index)
|
game::foreach_connected_client([&](game::client_s& client, const size_t index)
|
||||||
{
|
{
|
||||||
if (client.address == target)
|
if (client.address == target)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user