mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 09:16:13 +08:00
checking if current langauge is the same as random quote language
fixes #3054
This commit is contained in:
parent
a17343636a
commit
3644f9996e
1 changed files with 5 additions and 1 deletions
|
|
@ -343,7 +343,11 @@ export function restart(
|
|||
}
|
||||
}
|
||||
if (TestActive.get()) {
|
||||
if (Config.repeatQuotes === "typing" && Config.mode === "quote") {
|
||||
if (
|
||||
Config.repeatQuotes === "typing" &&
|
||||
Config.mode === "quote" &&
|
||||
Config.language.replace(/_\d*k$/g, "") === TestWords.randomQuote.language
|
||||
) {
|
||||
withSameWordset = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue