bugfix: sort highscore table by score
This commit is contained in:
parent
05680286ad
commit
5c2b99a909
@ -25,6 +25,9 @@ import { useGameinfoStore } from "@/stores/GameinfoStore"
|
||||
|
||||
const title = useGameinfoStore().gameInfo.name
|
||||
const players = usePlayersStore().players
|
||||
players.sort((a, b) => {
|
||||
return b.score - a.score
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
Loading…
Reference in New Issue
Block a user