diff --git a/src/endpoints/getMatchMapStats.ts b/src/endpoints/getMatchMapStats.ts index debad79c..0dd19ba4 100644 --- a/src/endpoints/getMatchMapStats.ts +++ b/src/endpoints/getMatchMapStats.ts @@ -215,13 +215,11 @@ function getRoundHistory( score: el.attr('title') }) - const team1Outcomes = $('.round-history-team-row') - .first() + const team1Outcomes = $('.round-history-team-row:nth-child(1)') .find('.round-history-outcome') .toArray() .map(getOutcome) - const team2Outcomes = $('.round-history-team-row') - .last() + const team2Outcomes = $('.round-history-team-row:nth-child(2)') .find('.round-history-outcome') .toArray() .map(getOutcome)