woopsies
This commit is contained in:
1 parent
466e86bfdb
commit
2174213f8d
2 files changed
+2
-2
No files matched your search
@@ -99,7 +99,7 @@ function ProgressBar.Open(options, cb, isQBInput)
|
|||||||
|
|
||||||
local success = exports.lation_ui:progressBar(options)
|
local success = exports.lation_ui:progressBar(options)
|
||||||
|
|
||||||
if cb then cb(not success) end
|
if cb then cb(success) end
|
||||||
return success
|
return success
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ function ProgressBar.Open(options, cb, isQBInput)
|
|||||||
local style = options.style or 'bar'
|
local style = options.style or 'bar'
|
||||||
local success = style == 'circle' and exports.ox_lib:progressCircle(options) or exports.ox_lib:progressBar(options)
|
local success = style == 'circle' and exports.ox_lib:progressCircle(options) or exports.ox_lib:progressBar(options)
|
||||||
|
|
||||||
if cb then cb(not success) end
|
if cb then cb(success) end
|
||||||
return success
|
return success
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user