Fixed client serials not getting cleared on disconnect (bug 5121, r=psychonic).
This commit is contained in:
parent
776889cfbb
commit
92773c2e1b
@ -1450,6 +1450,7 @@ CPlayer::CPlayer()
|
||||
m_LastPassword.clear();
|
||||
m_LangId = SOURCEMOD_LANGUAGE_ENGLISH;
|
||||
m_bFakeClient = false;
|
||||
m_Serial.value = -1;
|
||||
}
|
||||
|
||||
void CPlayer::Initialize(const char *name, const char *ip, edict_t *pEntity)
|
||||
@ -1521,6 +1522,7 @@ void CPlayer::Disconnect()
|
||||
m_UserId = -1;
|
||||
m_bIsInKickQueue = false;
|
||||
m_bFakeClient = false;
|
||||
m_Serial.value = -1;
|
||||
}
|
||||
|
||||
void CPlayer::SetName(const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user