Add 4 as an answer

This commit is contained in:
MrARM
2018-10-27 07:21:42 -05:00
parent cdfb55ac97
commit b3f89c1a09

View File

@@ -251,7 +251,7 @@ class Game {
sendAnswers(questionIndex) {
const answer = this.answers[questionIndex] || 'split';
if ([1, 2, 3].includes(answer)) {
if ([1, 2, 3, 4].includes(answer)) {
log.info(`Sending answer ${answer} for Question ${questionIndex + 1}.`);
this.players.forEach(player => player.sendAnswer(parseInt(answer)));
} else {