diff --git a/twitch/chatguessr.js b/twitch/chatguessr.js index b7d1edf..6de94fb 100644 --- a/twitch/chatguessr.js +++ b/twitch/chatguessr.js @@ -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 => {