In UpdatePlayerAuth, don't update SteamIDs if AuthID hasn't changed.

This commit is contained in:
Nicholas Hastings 2014-12-13 19:40:22 -05:00
parent de12f64c14
commit d51a57cc34

View File

@ -2001,6 +2001,11 @@ void CPlayer::UpdateAuthIds()
#else
authstr = engine->GetPlayerNetworkIDString(m_pEdict);
#endif
if (m_AuthID.compare(authstr) == 0)
{
return;
}
m_AuthID = authstr;
// Then, cache SteamId