mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-09 16:13:56 +00:00
refactor(client/progress): allow all progress bars to be cancelled
canCancel should really only apply to user-input.
This commit is contained in:
1 parent
5e4d36d1ab
commit
f9a6d8ca8b
1 file changed
-2
@@ -196,8 +196,6 @@ end
|
||||
function lib.cancelProgress()
|
||||
if not progress then
|
||||
error('No progress bar is active')
|
||||
elseif not progress.canCancel then
|
||||
error('Progress bar cannot be cancelled')
|
||||
end
|
||||
|
||||
progress = false
|
||||
|
||||
Reference in new issue
Block a user