Round score instead of floor + display score100 to player
This commit is contained in:
parent
a0cb395c79
commit
9f25bc54d3
3 changed files with 5 additions and 4 deletions
|
|
@ -95,7 +95,7 @@
|
|||
<Nav class="ms-auto text-light" navbar>
|
||||
{#if $my && $my.team_id}
|
||||
<NavItem>
|
||||
{Math.round($my.score*100)/100} {$my.score === 1 ? 'point' : 'points'}
|
||||
{$my.score100/100} {Math.abs($my.score) < 2 ? 'point' : 'points'}
|
||||
{#if $teams && $teams[$my.team_id] && $teams[$my.team_id].rank}
|
||||
– {$teams[$my.team_id].rank}<sup>e</sup> sur {Object.keys($teams).length}
|
||||
{/if}
|
||||
|
|
|
|||
Reference in a new issue