]> git.cworth.org Git - lmno.games/blobdiff - empathy/empathy.jsx
Only consider active players when counting players needed for prompt voting
[lmno.games] / empathy / empathy.jsx
index 3e6399d19c5aa997a4a9eecfa6912556ce663164..7ac92e01e4532eb35bd73fd2c878afca01fcc597 100644 (file)
@@ -1357,7 +1357,7 @@ class Game extends React.PureComponent {
       />,
       <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