From 8355998c7cdbfd576d28f71459334a38569ab8fe Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 6 Nov 2017 22:28:20 +0000 Subject: [PATCH] Fix --- commands/games/cards-against-humanity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games/cards-against-humanity.js b/commands/games/cards-against-humanity.js index d38ef58a..1882fdf4 100644 --- a/commands/games/cards-against-humanity.js +++ b/commands/games/cards-against-humanity.js @@ -119,7 +119,7 @@ module.exports = class CardsAgainstHumanityCommand extends Command { } const player = parseInt(chosen.first().content, 10); ++players.get(player).points; - if (players.get(player).points > maxPts) winner = players.get(player).user; + if (players.get(player).points >= maxPts) winner = players.get(player).user; } this.playing.delete(msg.channel.id); if (!winner) return msg.say('See you next time!');