X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=empathy%2Fempathy.jsx;h=001dcd5eeeb5ac3f943d368f971f8a78d19981d3;hp=b9579a6893e2a9b91ea28f8da34da2182e4c75b9;hb=49a7e9338a8160363ede955ae0d036abc360a359;hpb=11b1bab7b7ab4bc2c1e1f556a526baf1f01e2041 diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index b9579a6..001dcd5 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -440,7 +440,7 @@ const LetsPlay = React.memo(props => { if (max_votes < quorum) return null; - const candidates = props.prompts.filter(p => p.votes.length >= quorum); + const candidates = props.prompts.filter(p => p.votes.length >= max_votes); const index = Math.floor(Math.random() * candidates.length); const winner = candidates[index];