From aaefbb31464d26e298a33a1278d3fb01b39836ab Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 May 2020 08:50:51 -0400 Subject: [PATCH] Fix --- commands/games-sp/akinator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/games-sp/akinator.js b/commands/games-sp/akinator.js index 0b8bc51c..c182e75f 100644 --- a/commands/games-sp/akinator.js +++ b/commands/games-sp/akinator.js @@ -32,7 +32,7 @@ module.exports = class AkinatorCommand extends Command { let win = false; let forceGuess = false; this.client.games.set(msg.channel.id, { name: this.name }); - while (aki.guessCount < 3) { + while (!aki.guessCount || aki.guessCount < 3) { if (aki.progress >= 70 || forceGuess) { await aki.win(); const guess = aki.answers[0];