update lcemp networking

This commit is contained in:
2026-08-02 03:33:11 +03:00
parent b87d044cf0
commit e254228cf5
15 changed files with 616 additions and 138 deletions
+3 -1
View File
@@ -108,7 +108,9 @@ void PlayerList::placeNewPlayer(Connection *connection, shared_ptr<ServerPlayer>
{
NetworkPlayerXbox *nxp = (NetworkPlayerXbox *)networkPlayer;
IQNetPlayer *qnp = nxp->GetQNetPlayer();
wcsncpy(qnp->m_gamertag, player->name.c_str(), 32);
wcsncpy(qnp->m_gamertag, player->name.c_str(), 31);
qnp->m_gamertag[31] = L'\0';
g_NetworkManager.UpdateAndSetGameSessionData();
}
#endif