mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
fixed coreys mess
This commit is contained in:
parent
0eb3f73718
commit
6199fdcf2c
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue