From 4d8b4a63e6e51296da5829dd91efd781125fd659 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 14 Jun 2020 16:40:35 -0700 Subject: [PATCH] To rule on the judging "Move On" button require a maority of answered players At this point in the game we know a reliable number of players that are actually "in" this round, so use that when determining the majority required. --- empathy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/empathy.js b/empathy.js index abaf72f..eeb33c2 100644 --- a/empathy.js +++ b/empathy.js @@ -520,7 +520,7 @@ router.post('/end-judging/:prompt_id([0-9]+)', (request, response) => { else response.sendStatus(404); - if (game.state.end_judging.size > (game.state.players_judged.length / 2)) + if (game.state.end_judging.size > (game.state.players_answered.length / 2)) game.compute_scores(); }); -- 2.43.0