diff options
-rw-r--r-- | frontend/src/ts/test/words-generator.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/ts/test/words-generator.ts b/frontend/src/ts/test/words-generator.ts index 00e31ebe2..a99fa329f 100644 --- a/frontend/src/ts/test/words-generator.ts +++ b/frontend/src/ts/test/words-generator.ts @@ -663,7 +663,7 @@ export async function generateWords( const sectionFinishedAndOverLimit = currentSection.length === 0 && sectionIndex >= CustomText.getLimitValue(); - if (sectionFinishedAndOverLimit) { + if (sectionFinishedAndOverLimit || ret.words.length >= 100) { stop = true; } } else if (ret.words.length >= limit) { |