fix: practice missed words generatic less words than expected

closes #5584
This commit is contained in:
Miodec 2024-07-08 11:32:03 +02:00
parent ae712b3135
commit d2caf248b3

View file

@ -104,10 +104,10 @@ export function init(missed: boolean, slow: boolean): boolean {
UpdateConfig.setMode("custom", true);
CustomText.setText(newCustomText);
CustomText.setLimitMode("word");
CustomText.setMode("shuffle");
CustomText.setLimitValue(
(sortableSlowWords.length + sortableMissedWords.length) * 5
);
CustomText.setMode("shuffle");
setCustomTextName("practise", undefined);