From 550cee48dde4634f591ba29f424fb9ad60c44e8d Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Fri, 8 Apr 2022 19:26:41 +0200 Subject: [PATCH] Update commands.lua fixed leave priority command --- ND_Core/source/server/commands.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ND_Core/source/server/commands.lua b/ND_Core/source/server/commands.lua index afd5a68..10d1e64 100644 --- a/ND_Core/source/server/commands.lua +++ b/ND_Core/source/server/commands.lua @@ -61,6 +61,7 @@ if config.enablePriorityCooldown then if string.find(priority, "Active") then if string.find(priority, GetPlayerName(source)) then priority = string.gsub(priority, ", " .. GetPlayerName(source), "") + priority = string.gsub(priority, GetPlayerName(source), "") TriggerClientEvent("returnPriority", -1, priority) end end