@ -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
if opt then return false end
return true
@ -256,7 +256,6 @@ end
function UIMinimap:onStyleApply(styleName, styleNode)
for name,value in pairs(styleNode) do
print(name)
if name == 'autowalk' then
print(value)
self.autowalk = value