Merge pull request #9088 from ChillerDragon/pr_set_last_set_team

Explicitly set m_LastSetTeam to zero
This commit is contained in:
Dennis Felsing 2024-10-01 11:32:44 +00:00 committed by GitHub
commit d8bbf6916a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,6 +48,7 @@ void CPlayer::Reset()
m_SpectatorId = SPEC_FREEVIEW; m_SpectatorId = SPEC_FREEVIEW;
m_LastActionTick = Server()->Tick(); m_LastActionTick = Server()->Tick();
m_TeamChangeTick = Server()->Tick(); m_TeamChangeTick = Server()->Tick();
m_LastSetTeam = 0;
m_LastInvited = 0; m_LastInvited = 0;
m_WeakHookSpawn = false; m_WeakHookSpawn = false;