X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=empathy%2Fempathy.jsx;fp=empathy%2Fempathy.jsx;h=b9579a6893e2a9b91ea28f8da34da2182e4c75b9;hb=11b1bab7b7ab4bc2c1e1f556a526baf1f01e2041;hp=a9911d760188ba0736a8f8fb1db15057ab97bbc5;hpb=2bb9bc00050a317973c677d8efa697e48ea1eaf6;p=lmno.games diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index a9911d7..b9579a6 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -433,7 +433,7 @@ const PromptOptions = React.memo(props => { const LetsPlay = React.memo(props => { - const quorum = Math.round((props.num_players + 1) / 2); + const quorum = Math.max(0, props.num_players - props.prompts.length); const max_votes = props.prompts.reduce( (max_so_far, v) => Math.max(max_so_far, v.votes.length), 0);