From c65a0ed2dac3c727f88e6ba0ac4ef260bb716c0e Mon Sep 17 00:00:00 2001 From: zRxnx Date: Sun, 21 Apr 2024 18:12:56 +0200 Subject: [PATCH] Fix --- client/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/functions.lua b/client/functions.lua index 18817f7..df3f072 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -2220,7 +2220,7 @@ StartCooldown = function() end IsGradeAllowed = function() - return not not Config.Company.allowedGrades[CORE.Bridge.getVariables().job.grade_name] + return not not Config.Company.allowedGrades[CORE.Bridge.getPlayerObject().job.grade_name] end IsVehicleValid = function()