Skip to content

Commit

Permalink
fix(client/utils): target item fixes
Browse files Browse the repository at this point in the history
Use anyItem for ox_target.
Only support the first item for other systems.
  • Loading branch information
thelindat committed Jul 11, 2023
1 parent 01827c6 commit d302ffe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ CreateThread(function()
onSelect = pickLock,
canInteract = canPickLock,
items = Config.LockpickItems,
anyItem = true,
distance = 1
}
})
Expand All @@ -287,7 +288,7 @@ CreateThread(function()
icon = 'fas fa-user-lock',
action = pickLock,
canInteract = canPickLock,
item = Config.LockpickItems,
item = Config.LockpickItems[1],
distance = 1
}
}
Expand Down

0 comments on commit d302ffe

Please sign in to comment.