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 &&
/>,
<LetsPlay
key="lets-play"
- num_players={1+state.other_players.length}
+ num_players={1+state.other_players.filter(p => p.active).length}
prompts={state.prompts}
/>,
<PromptOptions