This commit is contained in:
Mr.Crowley committed 2025-07-28 00:21:57 -05:00
1 parent 2174213f8d
commit eb8a7e4449
1 file changed
+1 -1
@@ -57,7 +57,7 @@ function ProgressBar.Open(options, cb, qbFormat)
end
local prom = promise.new()
exports['progressbar']:Progress(options, function(cancelled)
if cb then cb(cancelled) end
if cb then cb( not cancelled) end
prom:resolve(not cancelled)
end)
return Citizen.Await(prom)