From 67a5b6cadfbe214b8963d7b3153e573891548a7e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 21 Apr 2020 22:59:41 -0400 Subject: [PATCH] Fix --- commands/games-mp/lie-swatter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-mp/lie-swatter.js b/commands/games-mp/lie-swatter.js index 9ae08c78..cbca0fdb 100644 --- a/commands/games-mp/lie-swatter.js +++ b/commands/games-mp/lie-swatter.js @@ -88,8 +88,8 @@ module.exports = class LieSwatterCommand extends Command { 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; - else player.pts += 50; + if (correct[0].id === answer.id) player.points += 75; + else player.points += 50; } await msg.say(stripIndents` It was... **${question.answer ? 'true' : 'a lie'}**!