aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/quiz-bunny/server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quiz-bunny/server.js b/src/quiz-bunny/server.js
index 47aa6c2..0725fdc 100644
--- a/src/quiz-bunny/server.js
+++ b/src/quiz-bunny/server.js
@@ -204,6 +204,7 @@ function setUpRoutes(server, models, jwtFunctions, database) {
game.answers.forEach(answer => {
answer.votes = []
})
+ shuffle(game.answers)
game.voteCount = 0
}
function endVoting(game) {