In UpdatePlayerAuth, don't update SteamIDs if AuthID hasn't changed.
This commit is contained in:
parent
de12f64c14
commit
d51a57cc34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user