mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
checking if current langauge is the same as random quote language
fixes #3054
This commit is contained in:
parent
a17343636a
commit
3644f9996e
|
@ -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…
Reference in a new issue