WIP
This commit is contained in:
parent
53974b0354
commit
d6a846a5f0
@ -127,8 +127,8 @@
|
|||||||
if(!res[guesses[rr][s].user]){
|
if(!res[guesses[rr][s].user]){
|
||||||
res[guesses[rr][s].user] = {score:0,distance:0}
|
res[guesses[rr][s].user] = {score:0,distance:0}
|
||||||
}
|
}
|
||||||
res[guesses[rr][s].user].score += guessses[rr][s].score
|
res[guesses[rr][s].user].score += guesses[rr][s].score
|
||||||
res[guesses[rr][s].user].distance += guessses[rr][s].distance
|
res[guesses[rr][s].user].distance += guesses[rr][s].distance
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Object.keys(res).map(k => {
|
return Object.keys(res).map(k => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user