Skip to content

Commit

Permalink
refactor: rename noCarjackWeapons item from v to w in isBlacklistedWe…
Browse files Browse the repository at this point in the history
…apon loop
  • Loading branch information
artur-michalak committed May 8, 2024
1 parent ed2b707 commit 793d95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ exports('HasKeys', public.hasKeys)
function public.isBlacklistedWeapon()
local weapon = GetSelectedPedWeapon(cache.ped)

for _, v in ipairs(config.noCarjackWeapons) do
if weapon == joaat(v) then return true end
for _, w in ipairs(config.noCarjackWeapons) do
if weapon == joaat(w) then return true end
end
end

Expand Down

0 comments on commit 793d95e

Please sign in to comment.