From eb09eac9b39cf099d3223936b93fbf0db315ace2 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Tue, 30 Nov 2021 11:19:07 +0000 Subject: [PATCH] lol --- client/src/components/user/UGPTStatShowcase.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/user/UGPTStatShowcase.tsx b/client/src/components/user/UGPTStatShowcase.tsx index 382b19b39..f8d4cc8a0 100644 --- a/client/src/components/user/UGPTStatShowcase.tsx +++ b/client/src/components/user/UGPTStatShowcase.tsx @@ -273,7 +273,9 @@ function StatDelta({ playtype: Playtype; }) { if (!v2) { - return null; + // @warn: This means things like BPI goals can go negative and spit nonsense + // eslint-disable-next-line no-param-reassign + v2 = 0; } let d: string | number = v2 - v1;