This commit is contained in:
choelzl 2022-02-14 18:07:41 +01:00
parent 53974b0354
commit d6a846a5f0
Signed by: sora
GPG Key ID: A362EA0491E2EEA0

View File

@ -127,8 +127,8 @@
if(!res[guesses[rr][s].user]){
res[guesses[rr][s].user] = {score:0,distance:0}
}
res[guesses[rr][s].user].score += guessses[rr][s].score
res[guesses[rr][s].user].distance += guessses[rr][s].distance
res[guesses[rr][s].user].score += guesses[rr][s].score
res[guesses[rr][s].user].distance += guesses[rr][s].distance
}
}
return Object.keys(res).map(k => {