From 796ac78bc62e4673a3579316e637bf83c0f6c56d Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 26 May 2022 17:29:41 -0500 Subject: [PATCH] Use server element check util, not game check --- scripts/client/business.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/client/business.js b/scripts/client/business.js index bbcd3cc8..2c07f0de 100644 --- a/scripts/client/business.js +++ b/scripts/client/business.js @@ -27,7 +27,7 @@ class BusinessData { function receiveBusinessFromServer(businessId, name, entrancePosition, blipModel, pickupModel, hasInterior, hasItems) { logToConsole(LOG_DEBUG, `[VRR.Business] Received business ${businessId} (${name}) from server`); - if(getGame() == VRR_GAME_GTA_IV) { + if(!areServerElementsSupported()) { if(getBusinessData(businessId) != false) { let businessData = getBusinessData(businessId); businessData.name = name;