From 899ae65b2cb4016d9344a11da4258bab9fe45998 Mon Sep 17 00:00:00 2001 From: hydrant Date: Fri, 2 Apr 2021 22:07:38 +0200 Subject: [PATCH] FIX TUNING --- ReallifeGamemode.Client/Tuning/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Tuning/main.ts b/ReallifeGamemode.Client/Tuning/main.ts index e9dd9230..f8e586a6 100644 --- a/ReallifeGamemode.Client/Tuning/main.ts +++ b/ReallifeGamemode.Client/Tuning/main.ts @@ -226,7 +226,6 @@ export default function tuning(globalData: IGlobalData) { } } - mp.gui.chat.push("getting price for modtype = " + modType.toString() + ", modtypename = " + modName); var price = getModSlotPrice(modType); @@ -327,7 +326,9 @@ export default function tuning(globalData: IGlobalData) { mp.events.add("SERVER:Tuning_ModSucessfull", (modType: number, index: number) => { currentMod[modType] = index - 1; currentActiveModItem[modType].SetRightLabel("$" + moneyformat(currentSelectedItem.price)); + currentActiveModItem[modType].SetRightBadge(NativeUI.BadgeStyle.None); currentSelectedItem.SetRightBadge(BadgeStyle.Car); + currentSelectedItem.SetRightLabel(""); currentActiveModItem[modType] = currentSelectedItem; });