From 6199fdcf2c5722e724d401cb502a3c09e4718e3a Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 25 Oct 2020 13:29:31 +0000 Subject: [PATCH] fixed coreys mess --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index c4f01b0e2..c69d798e7 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -479,7 +479,7 @@ async function initWords() { randomWord = wordset[Math.floor(Math.random() * wordset.length)]; previousWord = wordsList[i - 1]; previousWord2 = wordsList[i - 2]; - if (config.mode == "custom" && wordset.length < 3 && customTextIsRandom) { + if (config.mode == "custom" && customTextIsRandom) { randomWord = wordset[Math.floor(Math.random() * wordset.length)]; } else if (config.mode == "custom" && !customTextIsRandom) { randomWord = customText[i];