From f1a4e9f9d56776c54d3ceffdb05e242816100174 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 21 Apr 2020 22:57:58 -0400 Subject: [PATCH] Fix --- commands/games-mp/lie-swatter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-mp/lie-swatter.js b/commands/games-mp/lie-swatter.js index e4686f0c..9ae08c78 100644 --- a/commands/games-mp/lie-swatter.js +++ b/commands/games-mp/lie-swatter.js @@ -85,7 +85,7 @@ module.exports = class LieSwatterCommand extends Command { else if (falseOptions.includes(res.content.toLowerCase())) answer = false; return { answer, id: res.author.id }; }); - const correct = answers.filter(answer => answer === question.answer); + const correct = answers.filter(answer => answer.answer === question.answer); for (const answer of correct) { const player = pts.get(answer.id); if (correct[0].id === answer.id) player.pts += 75;