Compare commits

...

2 Commits

Author SHA1 Message Date
Yessiest b4fb0baded Merging asynchronous pushes 2022-08-31 16:52:37 +04:00
Yessiest 2a49d002a7 Hotfix for desktop crash with missing MPC 2022-08-31 16:51:03 +04:00
1 changed files with 8 additions and 2 deletions

View File

@ -68,7 +68,10 @@ return function(description,opts)
if v.draggable then
list.buttons = buttons
else
table.insert(list,inner_builder(v))
local new_obj = inner_builder(v)
if new_obj then
table.insert(list,new_obj)
end
end
end
return list
@ -98,7 +101,10 @@ return function(description,opts)
if obj.draggable then
list[k].buttons = buttons
else
table.insert(list[k],inner_builder(obj))
local new_obj = inner_builder(obj)
if new_obj then
table.insert(list[k],new_obj)
end
end
end
end