Skip to content

Commit

Permalink
Fix Round Event Count
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileYzn committed Aug 11, 2023
1 parent 139b5b6 commit e98652d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MatchStats/MatchStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,8 @@ void CMatchStats::OnEvent(GameEventType event, int ScenarioEvent, CBaseEntity* p
}
else
{
// Set event round count minus 1, since scores has already calculated
Event.Round = (this->m_Match.Score[TERRORIST] + this->m_Match.Score[CT]);
// Set event round count minus 1, since scores has already calculated but event is from current round
Event.Round = ((this->m_Match.Score[TERRORIST] + this->m_Match.Score[CT]) - 1);
}
}

Expand Down

0 comments on commit e98652d

Please sign in to comment.