From 5a849f1028a1f63597cc5089cf67823c85825b63 Mon Sep 17 00:00:00 2001 From: Andyauk <47583709+Andyauk@users.noreply.github.com> Date: Sat, 28 Jan 2023 14:04:27 +0000 Subject: [PATCH] Renewed-Banking and QB-Management fixes Renewed-Banking and QB-Management fixes --- client/atms.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/atms.lua b/client/atms.lua index e7c386d..ff13434 100644 --- a/client/atms.lua +++ b/client/atms.lua @@ -108,7 +108,7 @@ RegisterNetEvent('jim-payments:Client:ATM:use', function(data) --this grabs all the info from names to savings account numbers in the databases local p = promise.new() QBCore.Functions.TriggerCallback('jim-payments:ATM:Find', function(cb) p:resolve(cb) end) local info = Citizen.Await(p) - if not Config.Management then + if not Config.RenewedBanking then local p = promise.new() QBCore.Functions.TriggerCallback('qb-bossmenu:server:GetAccount', function(cb) p:resolve(cb) end, PlayerJob.name) info.society = Citizen.Await(p) local p2 = promise.new()