mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 20:38:17 +03:00
fix: iidx grade boundaries again
was this ever correct?
This commit is contained in:
@@ -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} />
|
||||
|
||||
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user