From e98652d37c80632613c7097570104dd973c3caa0 Mon Sep 17 00:00:00 2001 From: Cleverson Date: Fri, 11 Aug 2023 13:47:09 -0300 Subject: [PATCH] Fix Round Event Count --- MatchStats/MatchStats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MatchStats/MatchStats.cpp b/MatchStats/MatchStats.cpp index 56f3339..8bbd85c 100644 --- a/MatchStats/MatchStats.cpp +++ b/MatchStats/MatchStats.cpp @@ -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); } }