Skip to content

Commit c77e334

Browse files
committed
fix(bridge): statebag spam
1 parent 853b61c commit c77e334

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bridge/qb/server.lua

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ local function giveKeys(source, plate)
77
if GiveKeys(source, vehicles[i], true) then
88
success = true
99
end
10+
Wait(20)
1011
end
1112
if success then
1213
exports.qbx_core:Notify(source, locale('notify.keys_taken'))
@@ -23,6 +24,7 @@ local function removeKeys(source, plate)
2324
if RemoveKeys(source, vehicles[i], true) then
2425
success = true
2526
end
27+
Wait(20)
2628
end
2729
if success then
2830
exports.qbx_core:Notify(source, locale('notify.keys_removed'))

0 commit comments

Comments
 (0)