This commit is contained in:
Daniel Odendahl Jr
2017-06-14 00:48:27 +00:00
parent 5f78fc008f
commit 0c61c205f4
+1 -1
View File
@@ -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`
___________
| |