refactor(client/progress): allow all progress bars to be cancelled

canCancel should really only apply to user-input.
This commit is contained in:
Linden
2023-01-27 21:42:13 +11:00
parent 5e4d36d1ab
commit f9a6d8ca8b

View File

@@ -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