X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=3e6399d19c5aa997a4a9eecfa6912556ce663164;hp=4ef6807fef559834be1fed0be1a6f9cb2f2ed889;hb=97bb67ae2b99e3a75e83eec9c6ddcf30db15d896;hpb=db513b3fa26652fd2cf42d727604df3ed2ad6002 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 &&