From ac045a75dbc1b72b7cc10f794b2b0cd36f1b8df8 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 10 Feb 2022 18:00:43 -0600 Subject: [PATCH] Woops wrong const name for veh buy state --- scripts/client/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/client/utilities.js b/scripts/client/utilities.js index 35e90d21..0e51eeef 100644 --- a/scripts/client/utilities.js +++ b/scripts/client/utilities.js @@ -868,8 +868,8 @@ function processGameSpecifics() { function processVehiclePurchasing() { if(vehiclePurchaseState == VRR_VEHBUYSTATE_TESTDRIVE) { if(inVehicle == false) { - vehiclePurchaseState = VRR_VEHBUYSTATE_EXITEDVEH; - sendNetworkEventToServer("vrr.vehBuyState", VRR_VEHBUYSTATE_EXITEDVEH); + vehiclePurchaseState = VRR_VEHBUYSTATE_EXITVEH; + sendNetworkEventToServer("vrr.vehBuyState", VRR_VEHBUYSTATE_EXITVEH); return false; } else { if(vehiclePurchasing == inVehicle) {