mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-19 07:18:19 +00:00
Merge pull request #9088 from ChillerDragon/pr_set_last_set_team
Explicitly set m_LastSetTeam to zero
This commit is contained in:
commit
d8bbf6916a
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue