From 0c61c205f4428d7057eafa55b31601faffe07cbb Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 14 Jun 2017 00:48:27 +0000 Subject: [PATCH] Cats --- commands/games/hangman.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games/hangman.js b/commands/games/hangman.js index 25db2ed4..3c8dbaf7 100644 --- a/commands/games/hangman.js +++ b/commands/games/hangman.js @@ -17,7 +17,7 @@ module.exports = class HangmanCommand extends Command { let points = 0; const confirmation = []; const display = '_'.repeat(word.length).split(''); - while (word.length !== confirmation.length && points > 6) { + while (word.length === confirmation.length && points > 6) { await msg.code(null, stripIndents` ___________ | |