Skip to content

Commit

Permalink
Merge pull request ddnet#9088 from ChillerDragon/pr_set_last_set_team
Browse files Browse the repository at this point in the history
Explicitly set m_LastSetTeam to zero
  • Loading branch information
def- authored Oct 1, 2024
2 parents e8798a9 + 547a9a0 commit d8bbf69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/server/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ void CPlayer::Reset()
m_SpectatorId = SPEC_FREEVIEW;
m_LastActionTick = Server()->Tick();
m_TeamChangeTick = Server()->Tick();
m_LastSetTeam = 0;
m_LastInvited = 0;
m_WeakHookSpawn = false;

Expand Down

0 comments on commit d8bbf69

Please sign in to comment.