setting time to -1 to avoid incorrect hash error

This commit is contained in:
Miodec 2022-03-27 20:01:29 +02:00
parent 9c64ebdb10
commit 95f3414a27

View file

@ -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") {