diff --git a/frontend/src/scripts/config.ts b/frontend/src/scripts/config.ts index 2e79554bd..469aef053 100644 --- a/frontend/src/scripts/config.ts +++ b/frontend/src/scripts/config.ts @@ -1695,6 +1695,9 @@ export function setCustomBackgroundFilter( array: MonkeyTypes.CustomBackgroundFilter, nosave?: boolean ): void { + array = (array as unknown as string[]).map((value) => + parseInt(value) + ) as MonkeyTypes.CustomBackgroundFilter; if (!isConfigValueValid(array, ["numberArray"])) return invalid("custom background filter", array);