From a2685394fd70d02a3a3c5a78f831b9da10f99f7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com>
Date: Thu, 24 Oct 2024 15:22:51 -0500
Subject: [PATCH] fix: lower raw terrain coefficients are actually better
---
.../website/src/components/Compare/Body.tsx | 3 +++
.../components/Characteristics/index.tsx | 18 +++++++++++++++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/packages/website/src/components/Compare/Body.tsx b/packages/website/src/components/Compare/Body.tsx
index f79af9976..50242686d 100644
--- a/packages/website/src/components/Compare/Body.tsx
+++ b/packages/website/src/components/Compare/Body.tsx
@@ -266,6 +266,7 @@ export function Body({ stats }: BodyProps) {
stats={stats}
name="Raw terrain coefficient"
value="hardTerrainCoefficientRaw"
+ deltaType="lowerIsBetter"
decimals={2}
/>
{stats.softTerrainCoefficient}
-
+
{stats.hardTerrainCoefficientRaw}
-
+
{stats.mediumTerrainCoefficientRaw}
-
+
{stats.softTerrainCoefficientRaw}