fix(config): being able to set min accuracy over 100

This commit is contained in:
Miodec 2023-10-31 16:14:10 +00:00
parent 9493f4bf14
commit 3e72b03901

View file

@ -527,6 +527,7 @@ export function setMinAcc(
export function setMinAccCustom(val: number, nosave?: boolean): boolean {
if (!isConfigValueValid("min acc custom", val, ["number"])) return false;
if (val > 100) val = 100;
config.minAccCustom = val;
saveToLocalStorage("minAccCustom", nosave);