mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 23:16:03 +01:00
refactor(client/progress): allow all progress bars to be cancelled
canCancel should really only apply to user-input.
This commit is contained in:
@@ -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