Remove debug print and redundant checks.

This commit is contained in:
BenDol
2014-07-13 23:12:56 +12:00
parent 0c77179c46
commit 74979ca16a
2 changed files with 2 additions and 5 deletions

View File

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