From 82b43a92e009e1ebf1fd2a26fc12be03d169a3b0 Mon Sep 17 00:00:00 2001 From: starlitskies Date: Sun, 29 Oct 2023 20:55:48 +0500 Subject: [PATCH] fix: winrate percent --- src/js/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/overlay.js b/src/js/overlay.js index 1dc078d..1154e60 100644 --- a/src/js/overlay.js +++ b/src/js/overlay.js @@ -260,7 +260,7 @@ async function WinLoseVisual(win, lose) { const totalGames = win + lose; const winPercentage = (win / totalGames) * 100; if (win + lose !== 0) { - wlProccent.innerHTML = `(${winPercentage}%)`; + wlProccent.innerHTML = `(${winPercentage.toFixed()}%)`; } }