Skip to content

Commit

Permalink
refactor: (bpt_doorlock) await callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Mar 25, 2024
1 parent 7bfa678 commit 744e228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ CreateThread(function()

options = { locale('pick_lock') }

AddEventHandler('onResourceStop', function(resource)
RegisterNetEvent('onResourceStop', function(resource)
if resource == cache.resource then
if target.qt then
return target.exp:RemoveObject(options)
Expand Down

0 comments on commit 744e228

Please sign in to comment.