From: Carl Worth Date: Mon, 29 Jun 2020 23:34:22 +0000 (-0700) Subject: Fix "KUDOS SLAM" achievement to only consider players that answered X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=97bb67ae2b99e3a75e83eec9c6ddcf30db15d896;hp=db513b3fa26652fd2cf42d727604df3ed2ad6002 Fix "KUDOS SLAM" achievement to only consider players that answered The potentially larger number of registered players is totally irrelevant here. --- diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 4ef6807..3e6399d 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -1229,10 +1229,11 @@ class Game extends React.PureComponent { render() { const state = this.state; - const players_total = 1 + state.other_players.length; if (state.scores) { + const players_total = state.players_answered.size; + let perfect_score = 0; for (let i = 0; i < state.active_prompt.items &&