boring hail mary

This commit is contained in:
zkldi
2022-02-27 05:51:10 +00:00
parent 1995d12050
commit 355bd1dcfe
2 changed files with 5 additions and 3 deletions
@@ -3,7 +3,6 @@ import { GetGamePTConfig, PBScoreDocument, ScoreDocument } from "tachi-common";
import { ChangeOpacity } from "util/color-opacity";
import { FormatMillions } from "util/misc";
import CHUNITHMJudgementCell from "../cells/CHUNITHMJudgementCell";
import JubeatJudgementCell from "../cells/JubeatJudgementCell";
import LampCell from "../cells/LampCell";
import RatingCell from "../cells/RatingCell";
@@ -1,4 +1,3 @@
import { nanoid } from "nanoid";
import React from "react";
import {
Game,
@@ -127,10 +126,14 @@ export function GetGPTCoreHeaders<Dataset extends FolderDataset | PBDataset | Sc
| ScoreDocument<"popn:9B">
| PBScoreDocument<"popn:9B">;
if (!aSc || !bSc) {
if (!aSc && bSc) {
return -Infinity;
}
if (aSc && !bSc) {
return Infinity;
}
if (aSc.scoreData.lampIndex === bSc.scoreData.lampIndex) {
if (
!aSc.scoreData.hitMeta.specificClearType ||