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

This reverts commit 9fd44406e2.
This commit is contained in:
zkldi
2024-07-14 15:39:55 +01:00
parent 9fd44406e2
commit 8e89face2f
2 changed files with 3 additions and 4 deletions
@@ -21,7 +21,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS
WebkitTextFillColor: "transparent",
}}
>
<strong>{score.calculatedData.rate?.toFixed(2) ?? "N/A"}</strong>
<strong>{score.calculatedData.rating?.toFixed(2) ?? "N/A"}</strong>
</div>
</td>
);
@@ -53,7 +53,7 @@ export default function MaimaiRatingCell({ score }: { score: ScoreDocument | PBS
outline: "white",
}}
>
<strong>{score.calculatedData.rate?.toFixed(2) ?? "N/A"}</strong>
<strong>{score.calculatedData.rating?.toFixed(2) ?? "N/A"}</strong>
</td>
);
}
+1 -2
View File
@@ -24,7 +24,6 @@ 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";
@@ -643,7 +642,7 @@ export const GPT_CLIENT_IMPLEMENTATIONS: GPTClientImplementations = {
<LampCell lamp={sc.scoreData.lamp} colour={GetEnumColour(sc, "lamp")} />
</>
),
ratingCell: ({ sc }) => <WACCARatingCell score={sc} />,
ratingCell: ({ sc, rating }) => <RatingCell score={sc} rating={rating} />,
},
"itg:Stamina": {
sessionImportantScoreCount: 10,