mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-10 14:10:59 +08:00
setting time to -1 to avoid incorrect hash error
This commit is contained in:
parent
9c64ebdb10
commit
95f3414a27
1 changed files with 1 additions and 0 deletions
|
|
@ -200,6 +200,7 @@ export async function setup(challengeName: string): Promise<boolean> {
|
|||
CustomText.setIsTimeRandom(false);
|
||||
CustomText.setIsWordRandom(challenge.parameters[1] as boolean);
|
||||
CustomText.setWord(challenge.parameters[2] as number);
|
||||
CustomText.setTime(-1);
|
||||
UpdateConfig.setMode("custom", true);
|
||||
UpdateConfig.setDifficulty("normal", true);
|
||||
} else if (challenge.type === "script") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue