mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-01-31 19:08:26 +08:00
fix(word generator): custom mode with time limit generating the wrong amount of starting words
closes #5627
This commit is contained in:
parent
c856cf12f8
commit
ee49c79d6f
1 changed files with 4 additions and 1 deletions
|
@ -433,7 +433,10 @@ export function getWordsLimit(): number {
|
|||
|
||||
//custom
|
||||
if (Config.mode === "custom") {
|
||||
if (CustomText.getLimitValue() === 0) {
|
||||
if (
|
||||
CustomText.getLimitValue() === 0 ||
|
||||
CustomText.getLimitMode() === "time"
|
||||
) {
|
||||
limit = 100;
|
||||
} else {
|
||||
limit =
|
||||
|
|
Loading…
Reference in a new issue