qb progressbar returns opposite of bridge standard (ox)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user