From c31606706e9b73f22f03d73955fdadcc5831f2ed Mon Sep 17 00:00:00 2001 From: Attila <1230402+borzaka@users.noreply.github.com> Date: Thu, 28 Dec 2023 19:15:09 +0100 Subject: [PATCH] Fix round number (again) It was already fixed in 4380d190fdfc5f493a8297a52e2dbecfd70912dc, but f88baa5fc9db84e7874526de9b10413f455ef49c commit reverted it. --- src/HUD/MatchBar/MatchBar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/HUD/MatchBar/MatchBar.tsx b/src/HUD/MatchBar/MatchBar.tsx index 5676942..b50f3fe 100644 --- a/src/HUD/MatchBar/MatchBar.tsx +++ b/src/HUD/MatchBar/MatchBar.tsx @@ -35,10 +35,10 @@ export interface Timer { } const getRoundLabel = (mapRound: number) => { const round = mapRound + 1; - if (round <= 30) { - return `Round ${round}/30`; + if (round <= 24) { + return `Round ${round}/24`; } - const additionalRounds = round - 30; + const additionalRounds = round - 24; const OT = Math.ceil(additionalRounds/6); return `OT ${OT} (${additionalRounds - (OT - 1)*6}/6)`; }