qb progressbar returns opposite of bridge standard (ox)

This commit is contained in:
MrNewb committed 2025-07-27 14:30:38 -04:00
1 parent 503154a69c
commit fc8da1d528
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(not cancelled) end
if cb then cb(cancelled) end
prom:resolve(not cancelled)
end)
return Citizen.Await(prom)