change the top score to actually show the acuracy in the prev played

This commit is contained in:
Luna 2025-06-22 10:24:36 +02:00
parent 7d12e4d47f
commit 5ae7c790be

View file

@ -179,7 +179,7 @@
{@const topScore = map.scores.reduce((max, score) => score.score > max.score ? score : max)}
<span class="top-score">
<span class="material-icons">emoji_events</span>
{topScore.player?.name || topScore.player?.discordInfo?.username}: {Number(topScore.tournamentId).toLocaleString()}
{topScore.player?.name || topScore.player?.discordInfo?.username}: {topScore.accuracy.toString()}%
</span>
{/if}
</div>