Merge pull request #7272 from furo321/afk-optional2

Don't run `GET_INT` on afk attribute in `ProcessServerInfo`
This commit is contained in:
Dennis Felsing 2023-09-30 20:43:37 +00:00 committed by GitHub
commit e0d906d9e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1472,7 +1472,6 @@ void CClient::ProcessServerInfo(int RawType, NETADDR *pFrom, const void *pData,
GET_INT(pClient->m_Country);
GET_INT(pClient->m_Score);
GET_INT(pClient->m_Player);
GET_INT(pClient->m_Afk);
if(SavedType == SERVERINFO_EXTENDED)
{
Up.GetString(); // extra info, reserved