From e68a1cb3f1085e2d077c81214164943b2dcf6e9c Mon Sep 17 00:00:00 2001 From: JAGFx Date: Sat, 2 Mar 2024 17:47:21 +0100 Subject: [PATCH] :bug: correct display of crawling gear for man truck --- src/data/truck-engine-rpm.json | 11 +++++++++++ src/utils/telemetry/_grear.utils.js | 1 + 2 files changed, 12 insertions(+) diff --git a/src/data/truck-engine-rpm.json b/src/data/truck-engine-rpm.json index e277482d..a8a0829c 100644 --- a/src/data/truck-engine-rpm.json +++ b/src/data/truck-engine-rpm.json @@ -84,6 +84,17 @@ "high" : { "from" : 2400 } + }, + { + "modelId" : "vehicle.man.tgx_2020", + "low" : { + "from" : 900, + "to" : 1400 + }, + "mid" : null, + "high" : { + "from" : 21500 + } } ] }, diff --git a/src/utils/telemetry/_grear.utils.js b/src/utils/telemetry/_grear.utils.js index d04a794a..bbb47531 100644 --- a/src/utils/telemetry/_grear.utils.js +++ b/src/utils/telemetry/_grear.utils.js @@ -7,6 +7,7 @@ export const crawlingGearCount = (brandName) => { case 'Volvo': case 'Scania': case 'Kenworth': + case 'MAN': crawlingGear = 2; break; }