X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=7ac92e01e4532eb35bd73fd2c878afca01fcc597;hp=4ef6807fef559834be1fed0be1a6f9cb2f2ed889;hb=32a2a8dc67592143959e0c9ef77f7065466f4be0;hpb=db513b3fa26652fd2cf42d727604df3ed2ad6002 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 4ef6807..7ac92e0 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 && @@ -1356,7 +1357,7 @@ class Game extends React.PureComponent { />, p.active).length} prompts={state.prompts} />,