forgot 1
This commit is contained in:
1 parent
2174213f8d
commit
eb8a7e4449
1 file changed
+1
-1
@@ -57,7 +57,7 @@ function ProgressBar.Open(options, cb, qbFormat)
|
|||||||
end
|
end
|
||||||
local prom = promise.new()
|
local prom = promise.new()
|
||||||
exports['progressbar']:Progress(options, function(cancelled)
|
exports['progressbar']:Progress(options, function(cancelled)
|
||||||
if cb then cb(cancelled) end
|
if cb then cb( not cancelled) end
|
||||||
prom:resolve(not cancelled)
|
prom:resolve(not cancelled)
|
||||||
end)
|
end)
|
||||||
return Citizen.Await(prom)
|
return Citizen.Await(prom)
|
||||||
|
|||||||
Reference in new issue
Block a user