From a3cac727ccaf552d4d1ec28dac8a86a1fc46b374 Mon Sep 17 00:00:00 2001 From: "Felix W. Dekker" Date: Wed, 2 Sep 2020 20:49:41 +0200 Subject: [PATCH] Fix off-by-one error --- src/main/js/HighScores.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/js/HighScores.ts b/src/main/js/HighScores.ts index 3da8ffb..7a8ecee 100644 --- a/src/main/js/HighScores.ts +++ b/src/main/js/HighScores.ts @@ -89,7 +89,7 @@ export class HighScores { const score = highScores[j]; report += "" + ` - #${j} + #${j + 1} ${formatTime(Math.floor(score.time / 1000), true, false)} ${score.deaths} `;