mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 01:06:21 +08:00
fixed a bug where words added live during the test didnt follow the punctuation rules
This commit is contained in:
parent
09bb4c051c
commit
200803a72c
1 changed files with 2 additions and 2 deletions
|
|
@ -661,8 +661,8 @@ export async function addWord(): Promise<void> {
|
|||
TestWords.words.length,
|
||||
language,
|
||||
bound,
|
||||
TestWords.words.get(TestWords.words.length - 1, true),
|
||||
TestWords.words.get(TestWords.words.length - 2, true)
|
||||
TestWords.words.get(TestWords.words.length - 1),
|
||||
TestWords.words.get(TestWords.words.length - 2)
|
||||
);
|
||||
|
||||
const split = randomWord.split(" ");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue