Fix sorting

This commit is contained in:
2023-06-18 20:52:59 +03:00
parent e364b7b82d
commit 9adcd2ab62

View File

@@ -124,7 +124,7 @@ const unansweredPlayers = computed(() => {
const leader = computed(() => {
return Object.keys(score.value).sort((a, b) => {
return score.value[a] - score.value[b]
return score.value[b] - score.value[a]
})[0]
})