Skip to content

Commit

Permalink
use sv_consistency instead of sv_pure
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed May 27, 2024
1 parent 829e92a commit 21ec9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/shared/swarm/asw_gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,12 @@ static void UpdateMatchmakingTagsCallback( IConVar *pConVar, const char *pOldVal
UTIL_RD_RemoveCurrentLobbyData( "game:missioninfo:official" );
}

static ConVarRef sv_pure( "sv_pure" );
static ConVarRef sv_consistency( "sv_consistency" );

UTIL_RD_UpdateCurrentLobbyData( "system:game_version", engine->GetProductVersionString() );
UTIL_RD_UpdateCurrentLobbyData( "system:map_version", GetClientWorldEntity()->m_nMapVersion );
UTIL_RD_UpdateCurrentLobbyData( "system:server_version", uint64_t( pAlienSwarm->m_iServerVersion ) );
UTIL_RD_UpdateCurrentLobbyData( "system:pure", sv_pure.GetInt() );
UTIL_RD_UpdateCurrentLobbyData( "system:pure", sv_consistency.GetInt() );
if ( ISteamApps *pSteamApps = SteamApps() )
{
UTIL_RD_UpdateCurrentLobbyData( "system:game_build", pSteamApps->GetAppBuildId() );
Expand Down

0 comments on commit 21ec9e4

Please sign in to comment.