From b5775d60753a384952d68121de56a4008ed526a5 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 19 May 2020 08:57:13 -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 1aa366f2..71134a63 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];