|
|
@ -413,11 +413,9 @@ function startTradeWith(thing)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function isMenuHookCategoryEmpty(category)
|
|
|
|
function isMenuHookCategoryEmpty(category)
|
|
|
|
if category and not table.empty(category) then
|
|
|
|
if category then
|
|
|
|
for _,opt in pairs(category) do
|
|
|
|
for _,opt in pairs(category) do
|
|
|
|
if opt and not table.empty(opt) then
|
|
|
|
if opt then return false end
|
|
|
|
return false
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|