From 08e2a3591699a4a625018d75d5d632f28d3c9c04 Mon Sep 17 00:00:00 2001 From: furo Date: Sun, 7 Nov 2021 21:57:45 +0100 Subject: [PATCH] whops --- libs/database/wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/database/wrapper.js b/libs/database/wrapper.js index c195969..c69cf21 100644 --- a/libs/database/wrapper.js +++ b/libs/database/wrapper.js @@ -247,7 +247,7 @@ export function leaderboardPoints(type, region, start, end) { let flag = skinDB.prepare(`SELECT flag FROM skindata WHERE player = ?`).get(entry.player)?.flag ?? "default" output.push({ rank: rank, global: entry.rank, player: entry.player, points: entry.points, region: entry.region, flag: flag }) - ++i + ++rank } return output }