X-Git-Url: https://git.cworth.org/git?p=empires-server;a=blobdiff_plain;f=empathy.js;h=0ae52df96a442558124c0dd2f9e35dc572bc3f32;hp=4fdd4b329aa3eafeb39cf57c33df8fd953a65b7f;hb=2df6309b25756727b8e6d2e99aad7d729213dbfc;hpb=dccfff8883f2caaf2e9f63aa79ce918a70c08c59 diff --git a/empathy.js b/empathy.js index 4fdd4b3..0ae52df 100644 --- a/empathy.js +++ b/empathy.js @@ -410,7 +410,7 @@ class Empathy extends Game { /* Perform a (non-strict) majority ruling on equivalencies, * dropping all that didn't get enough votes. */ - const quorum = Math.floor((this.players.length + 1)/2); + const quorum = Math.floor((this.state.players_judged.length + 1)/2); const agreed_equivalencies = Object.values(this.equivalencies).filter( eq => eq.count >= quorum);