From dc59cd707f868bd794224d2aa557ae3bb1fb345f Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 18 May 2026 14:17:38 +0200 Subject: [PATCH] Update src/routes/Player/useStatistics.js Co-authored-by: Timothy Z. --- src/routes/Player/useStatistics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/Player/useStatistics.js b/src/routes/Player/useStatistics.js index 5327b90ae..05600c0a2 100644 --- a/src/routes/Player/useStatistics.js +++ b/src/routes/Player/useStatistics.js @@ -59,7 +59,7 @@ const useStatistics = (player, streamingServer) => { const minDownload = Math.min(8 * MB, Math.max(2 * MB, statistics.streamLen * 0.008)); const downloadedScore = Math.min(1, statistics.downloaded / minDownload) * 70; - const speedCore = Math.min(1, statistics.downloadSpeed / (1 * MB)) * 10; + const speedScore = Math.min(1, statistics.downloadSpeed / (1 * MB)) * 10; return Math.min(99, peerScore + downloadedScore + speedCore); });