From d9f4ec7c6f8045b3c6c99586afb8128d4418bd0d Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 16 Oct 2022 17:08:52 -0500 Subject: [PATCH] Fix biz/house price not being shown --- scripts/client/label.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/client/label.js b/scripts/client/label.js index df01f09a..8721c13c 100644 --- a/scripts/client/label.js +++ b/scripts/client/label.js @@ -318,7 +318,7 @@ function processLabelRendering() { } if (getDistance(localPlayer.position, business.entrancePosition) <= propertyLabelRenderDistance) { - renderPropertyEntranceLabel(business.name, business.entrancePosition, business.locked, true, getCurrencyString(business.buyPrice), getCurrencyString(business.rentPrice), business.labelInfoType); + renderPropertyEntranceLabel(business.name, business.entrancePosition, business.locked, true, business.buyPrice, business.rentPrice, business.labelInfoType); } } }); @@ -330,7 +330,7 @@ function processLabelRendering() { } if (getDistance(localPlayer.position, house.entrancePosition) <= propertyLabelRenderDistance) { - renderPropertyEntranceLabel(house.description, house.entrancePosition, house.locked, true, getCurrencyString(house.buyPrice), getCurrencyString(house.rentPrice), house.labelInfoType); + renderPropertyEntranceLabel(house.description, house.entrancePosition, house.locked, true, house.buyPrice, house.rentPrice, house.labelInfoType); } } }); @@ -360,11 +360,11 @@ function processLabelRendering() { let rentPrice = "0"; let labelInfoType = AGRP_PROPLABEL_INFO_NONE; if (pickups[i].getData("agrp.label.price") != null) { - price = getCurrencyString(pickups[i].getData("agrp.label.price")); + price = pickups[i].getData("agrp.label.price"); } if (pickups[i].getData("agrp.label.rentprice") != null) { - rentPrice = getCurrencyString(pickups[i].getData("agrp.label.rentprice")); + rentPrice = pickups[i].getData("agrp.label.rentprice"); } if (pickups[i].getData("agrp.label.help") != null) {