Skip to content

Commit

Permalink
Fixed "max sentry kills" stat not being tracked properly
Browse files Browse the repository at this point in the history
  • Loading branch information
NicknineTheEagle committed Feb 7, 2019
1 parent 14efd6b commit 5e684d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/server/tf/tf_gamestats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ void CTFGameStats::Event_MaxSentryKills( CTFPlayer *pAttacker, int iMaxKills )
if ( iCur != iMaxKills )
{
stats.statsCurrentRound.m_iStat[TFSTAT_MAXSENTRYKILLS] = iMaxKills;
stats.statsAccumulated.m_iStat[TFSTAT_MAXSENTRYKILLS] = iMaxKills;
stats.iStatsChangedBits |= ( 1 << ( TFSTAT_MAXSENTRYKILLS - TFSTAT_FIRST ) );
}
}
Expand Down

0 comments on commit 5e684d0

Please sign in to comment.