This commit is contained in:
furo 2021-11-07 21:57:45 +01:00
parent 81338ec3e3
commit 08e2a35916

View File

@ -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" 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 }) output.push({ rank: rank, global: entry.rank, player: entry.player, points: entry.points, region: entry.region, flag: flag })
++i ++rank
} }
return output return output
} }