removing multiplex-sessions from matchmaking (#3357)
This commit is contained in:
parent
49a34f5789
commit
c08af13c48
@ -29,9 +29,11 @@ namespace big
|
||||
auto host_rid =
|
||||
g_matchmaking_service->get_found_sessions()[i].info.m_net_player_data.m_gamer_handle.m_rockstar_id;
|
||||
auto player = g_player_database_service->get_player_by_rockstar_id(host_rid);
|
||||
auto multiplex_count = g_matchmaking_service->get_found_sessions()[i].attributes.multiplex_count;
|
||||
|
||||
if (g.session_browser.exclude_modder_sessions && player && player->block_join)
|
||||
continue;
|
||||
if ((g.session_browser.exclude_modder_sessions && player && player->block_join) ||
|
||||
(g.session_browser.filter_multiplexed_sessions && multiplex_count > 1))
|
||||
continue;
|
||||
|
||||
results[*num_sessions_found] = g_matchmaking_service->get_found_sessions()[i].info;
|
||||
(*num_sessions_found)++;
|
||||
|
@ -43,8 +43,9 @@ namespace big
|
||||
auto host_rid = session.info.m_net_player_data.m_gamer_handle.m_rockstar_id;
|
||||
auto player = g_player_database_service->get_player_by_rockstar_id(host_rid);
|
||||
|
||||
if (g.session_browser.exclude_modder_sessions && player && player->block_join)
|
||||
continue;
|
||||
if ((g.session_browser.exclude_modder_sessions && player && player->block_join) ||
|
||||
(g.session_browser.filter_multiplexed_sessions && session.attributes.multiplex_count > 1))
|
||||
continue;
|
||||
|
||||
if (components::selectable(session_str, i == selected_session_idx))
|
||||
{
|
||||
|
Reference in New Issue
Block a user