From 34f462e95dbc654a4b1073be6506d4ec6e3437ce Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Fri, 20 Jan 2023 20:51:21 +0000 Subject: [PATCH] fix: give ITG a proper lamp cell --- .../tables/game-core-cells/ITGCoreCells.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/client/src/components/tables/game-core-cells/ITGCoreCells.tsx b/client/src/components/tables/game-core-cells/ITGCoreCells.tsx index 2ef071613..8c813aa31 100644 --- a/client/src/components/tables/game-core-cells/ITGCoreCells.tsx +++ b/client/src/components/tables/game-core-cells/ITGCoreCells.tsx @@ -1,3 +1,4 @@ +import { ChangeOpacity } from "util/color-opacity"; import React from "react"; import { PBScoreDocument, ScoreDocument } from "tachi-common"; import { GetEnumColour } from "lib/game-implementations"; @@ -23,7 +24,17 @@ export default function ITGCoreCells({ percent={sc.scoreData.scorePercent} /> - + + {sc.scoreData.lamp === "FAILED" ? ( + DIED @ {Math.floor(sc.scoreData.survivedPercent)}% + ) : ( + {sc.scoreData.lamp} + )} + {!short && } );