This commit is contained in:
Tranqlmao committed 2026-11-26 14:06:47 -05:00
1 parent 263d43905e
commit 2f7b5c9f2b
4 files changed
+6 -2

No files matched your search

@@ -134,6 +134,7 @@ void UIScene_FriendMenu::startJoin(bool skipBlockedCheck)
#ifdef _WINDOWS64
m_joinSession.data.hostIP[0] = 0;
m_joinSession.data.hostPort = 0;
m_joinSession.isFriendGame = true;
wcsncpy_s(m_joinSession.data.hostName, XUSER_NAME_SIZE, m_data.name.c_str(), _TRUNCATE);
m_joinSession.data.playerCount = static_cast<unsigned char>(game != nullptr ? game->playerCount : 1);
m_joinSession.data.maxPlayers = static_cast<unsigned char>(game != nullptr ? game->maxPlayers : 8);