fix: improve net code for player list etc

This commit is contained in:
NOTPIES
2026-03-04 21:47:45 -03:00
parent 8a48e6dcc3
commit ec0146effa
7 changed files with 193 additions and 48 deletions

View File

@@ -106,6 +106,7 @@ void PlayerList::placeNewPlayer(Connection *connection, shared_ptr<ServerPlayer>
NetworkPlayerXbox *nxp = (NetworkPlayerXbox *)networkPlayer;
IQNetPlayer *qnp = nxp->GetQNetPlayer();
wcsncpy_s(qnp->m_gamertag, 32, player->name.c_str(), _TRUNCATE);
g_NetworkManager.UpdateAndSetGameSessionData();
}
#endif