Skip to content

Commit fb3c037

Browse files
committed
add rd_lobby_query_servers convar to completely disable ISteamMatchmakingServers usage.
1 parent 5779f84 commit fb3c037

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/game/shared/swarm/rd_lobby_utils.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ static void DebugSpewLobby( CSteamID lobby )
349349
#define LOBBY_SEARCH_INTERVAL 30.0f
350350

351351
ConVar rd_lobby_search_debug( "rd_lobby_search_debug", "0" );
352+
ConVar rd_lobby_query_servers( "rd_lobby_query_servers", "0" );
352353

353354
CReactiveDropLobbySearch::CReactiveDropLobbySearch( const char *pszDebugName ) :
354355
m_DistanceFilter{ k_ELobbyDistanceFilterWorldwide },
@@ -605,6 +606,9 @@ CReactiveDropServerListHelper::~CReactiveDropServerListHelper()
605606

606607
void CReactiveDropServerListHelper::WantUpdatedServerList()
607608
{
609+
if ( !rd_lobby_query_servers.GetBool() )
610+
return;
611+
608612
if ( m_hServerListRequestNext || m_flSoonestServerListRequest > Plat_FloatTime() )
609613
return;
610614

0 commit comments

Comments
 (0)