fix: iidx grade boundaries again

was this ever correct?
This commit is contained in:
zkldi
2023-02-18 00:02:10 +00:00
parent 0ffc0c86bd
commit 301ef8be0e
2 changed files with 2 additions and 10 deletions
+1 -5
View File
@@ -82,11 +82,7 @@ const BASE_IMPL: GPTClientImplementation<GPTStrings["bms" | "pms"]> = {
// i don't know if this is correct
// it's just really hard to work out.
if (v < 0) {
return Math.floor(v).toFixed(0);
} else {
return Math.ceil(v).toFixed(0);
}
return Math.floor(v).toFixed(0);
}}
/>
<BMSOrPMSLampCell score={sc} />
+1 -5
View File
@@ -106,11 +106,7 @@ const IIDXCoreCells: GPTClientImplementation<GPTStrings["iidx"]>["scoreCoreCells
// i don't know if this is correct
// it's just really hard to work out.
if (v < 0) {
return Math.floor(v).toFixed(0);
} else {
return Math.ceil(v).toFixed(0);
}
return Math.floor(v).toFixed(0);
}}
/>
<IIDXLampCell sc={sc} chart={chart} />