mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
only adding periods to last numbers when puctuation is enabled
This commit is contained in:
parent
16053d3906
commit
d451570a61
1 changed files with 1 additions and 1 deletions
|
@ -912,7 +912,7 @@ export async function init() {
|
|||
if (Config.punctuation) {
|
||||
randomWord = punctuateWord(previousWord, randomWord, i, wordsBound);
|
||||
}
|
||||
if (Config.numbers) {
|
||||
if (Config.numbers && Config.punctuation) {
|
||||
if (
|
||||
Math.random() < 0.1 &&
|
||||
i !== 0 &&
|
||||
|
|
Loading…
Reference in a new issue