Commit dc44d6e3 authored by Simpy's avatar Simpy 🐹

boop

parent e7b217db
......@@ -918,8 +918,9 @@ function UF:CreateHeader(parent, groupFilter, overrideName, template, groupName,
end
function UF:GetSmartVisibilitySetting(setting, group, smart, db)
if smart and UF.SmartSettings[group] and UF.SmartSettings[group][setting] ~= nil then
return UF.SmartSettings[group][setting]
local smartSettings = smart and UF.SmartSettings[group]
if smartSettings and smartSettings[setting] ~= nil then
return smartSettings[setting]
end
return db[setting]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment