Fix regression in auth causing crash on L4D and newer (r=VoiDeD).
This commit is contained in:
parent
af273e8e66
commit
e72ff963f5
@ -2059,7 +2059,8 @@ void CPlayer::UpdateAuthIds()
|
||||
}
|
||||
|
||||
EUniverse steam2universe = m_SteamId.GetEUniverse();
|
||||
if (atoi(g_pGameConf->GetKeyValue("UseInvalidUniverseInSteam2IDs")) == 1)
|
||||
const char *keyUseInvalidUniverse = g_pGameConf->GetKeyValue("UseInvalidUniverseInSteam2IDs");
|
||||
if (keyUseInvalidUniverse && atoi(keyUseInvalidUniverse) == 1)
|
||||
{
|
||||
steam2universe = k_EUniverseInvalid;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user