fix: maimai uses rate, actually plug in the wacca cell (#1127)

This commit is contained in:
j1nxie
2024-07-14 14:54:08 +01:00
committed by GitHub
parent 7f0bfff647
commit 9fd44406e2
2 changed files with 4 additions and 3 deletions
@@ -21,7 +21,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS
WebkitTextFillColor: "transparent",
}}
>
<strong>{score.calculatedData.rating?.toFixed(2) ?? "N/A"}</strong>
<strong>{score.calculatedData.rate?.toFixed(2) ?? "N/A"}</strong>
</div>
</td>
);
@@ -53,7 +53,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS
outline: "white",
}}
>
<strong>{score.calculatedData.rating?.toFixed(2) ?? "N/A"}</strong>
<strong>{score.calculatedData.rate?.toFixed(2) ?? "N/A"}</strong>
</td>
);
}
+2 -1
View File
@@ -24,6 +24,7 @@ import CHUNITHMRatingCell from "components/tables/cells/CHUNITHMRatingCell";
import MaimaiDXRatingCell from "components/tables/cells/MaimaiDXRatingCell";
import MaimaiRatingCell from "components/tables/cells/MaimaiRatingCell";
import OngekiRatingCell from "components/tables/cells/OngekiRatingCell";
import WACCARatingCell from "components/tables/cells/WACCARatingCell";
import { CreateRatingSys, bgc } from "./games/_util";
import { BMS_14K_IMPL, BMS_7K_IMPL, PMS_IMPL } from "./games/bms-pms";
import { IIDX_DP_IMPL, IIDX_SP_IMPL } from "./games/iidx";
@@ -642,7 +643,7 @@ export const GPT_CLIENT_IMPLEMENTATIONS: GPTClientImplementations = {
<LampCell lamp={sc.scoreData.lamp} colour={GetEnumColour(sc, "lamp")} />
</>
),
ratingCell: ({ sc, rating }) => <RatingCell score={sc} rating={rating} />,
ratingCell: ({ sc }) => <WACCARatingCell score={sc} />,
},
"itg:Stamina": {
sessionImportantScoreCount: 10,