- fix progressbar
This commit is contained in:
1 parent
547ba993d4
commit
b5297bd109
1 file changed
+1
-2
@@ -305,12 +305,11 @@ else
|
|||||||
end
|
end
|
||||||
|
|
||||||
function progressbar(text, time, emote, cancel)
|
function progressbar(text, time, emote, cancel)
|
||||||
if emote.prop then
|
if emote and emote.prop then
|
||||||
if not emote.prop.model then
|
if not emote.prop.model then
|
||||||
emote.prop = nil
|
emote.prop = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print(json.encode(emote))
|
|
||||||
local success = Bridge.ProgressBar.Open({
|
local success = Bridge.ProgressBar.Open({
|
||||||
duration = time or 5000,
|
duration = time or 5000,
|
||||||
label = text or 'LAZY AF DEVS',
|
label = text or 'LAZY AF DEVS',
|
||||||
|
|||||||
Reference in new issue
Block a user