leaderboard: fix numbers

This commit is contained in:
tree🌴 2024-01-26 05:58:27 +01:00
parent 41721af29b
commit 68885acfdc

View file

@ -18,7 +18,7 @@ for (const c of contributors) {
function getPoint (num){ function getPoint (num){
const key = `c:${num}` const key = `c:${num}`
const obj = points[key]; const obj = points[key];
return `${obj.start+1}${obj.arr.length > 1 ? '-'+(obj.start+1+obj.arr.length) : ''}`; return `${obj.start+1}${obj.arr.length > 1 ? '-'+(obj.start+obj.arr.length) : ''}`;
} }
--- ---