From c93dcff4206b0f59d494dcb673bc1eff6d480b0f Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 17 May 2022 08:54:59 -0500 Subject: [PATCH] Fix buyable biz/house labels --- 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 e1c64837..10a0c211 100644 --- a/scripts/client/label.js +++ b/scripts/client/label.js @@ -145,17 +145,17 @@ function renderPropertyEntranceLabel(name, position, locked, isBusiness, price, } case VRR_PROPLABEL_INFO_BUYBIZ: { - infoText = getLocaleString("BuyBusinessLabel", price); + infoText = getLocaleString("BuyBusinessLabel", "/bizbuy"); break; } case VRR_PROPLABEL_INFO_BUYHOUSE: { - infoText = getLocaleString("PropertyForSaleLabel", price); + infoText = getLocaleString("BuyHouseLabel", "/housebuy"); break; } case VRR_PROPLABEL_INFO_RENTHOUSE: { - infoText = getLocaleString("PropertyForRentLabel", rentPrice); + infoText = getLocaleString("RentHouseLabel", "/houserent"); break; } @@ -358,7 +358,7 @@ function processLabelRendering() { } case VRR_LABEL_HOUSE: { - renderPropertyEntranceLabel("House", pickups[i].position, pickups[i].getData("vrr.label.locked"), false, price, rentPrice, labelInfoType); + renderPropertyEntranceLabel(pickups[i].getData("vrr.label.name"), pickups[i].position, pickups[i].getData("vrr.label.locked"), false, price, rentPrice, labelInfoType); break; }