diff --git a/backend/src/templateFormatter.ts b/backend/src/templateFormatter.ts index 7463d483..11c17925 100644 --- a/backend/src/templateFormatter.ts +++ b/backend/src/templateFormatter.ts @@ -413,7 +413,7 @@ const baseValues = { [from, to] = [to, from]; } - const randValue = seed != null ? new seedrandom(seed)() : Math.random(); + const randValue = seed != null ? seedrandom(seed)() : Math.random(); return Math.round(randValue * (to - from) + from); },