mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #7272 from furo321/afk-optional2
Don't run `GET_INT` on afk attribute in `ProcessServerInfo`
This commit is contained in:
commit
e0d906d9e1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue