diff --git a/src/hooks/matchmaking/start_matchmaking_find_sessions.cpp b/src/hooks/matchmaking/start_matchmaking_find_sessions.cpp index eac30667..5cc576d5 100644 --- a/src/hooks/matchmaking/start_matchmaking_find_sessions.cpp +++ b/src/hooks/matchmaking/start_matchmaking_find_sessions.cpp @@ -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)++; diff --git a/src/views/network/view_session_browser.cpp b/src/views/network/view_session_browser.cpp index 4b0c7660..e03b57cb 100644 --- a/src/views/network/view_session_browser.cpp +++ b/src/views/network/view_session_browser.cpp @@ -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)) {