Quantcast

just in case

Darthpred [08-18-16 - 10:43]
just in case
Filename
ElvUI_SLE/options/uibuttons_c.lua
diff --git a/ElvUI_SLE/options/uibuttons_c.lua b/ElvUI_SLE/options/uibuttons_c.lua
index 5b376a0..722e074 100644
--- a/ElvUI_SLE/options/uibuttons_c.lua
+++ b/ElvUI_SLE/options/uibuttons_c.lua
@@ -344,7 +344,7 @@ local function configTable()
 	}

 	for k, v in T.pairs(UB.Holder.Addon) do
-		if k ~= "Toggle" and T.type(v) == "table" and v:HasScript("OnClick") then E.Options.args.sle.args.modules.args.uibuttons.args.Addon.args.called.values[k] = k end
+		if k ~= "Toggle" and T.type(v) == "table" and (v.HasScript and v:HasScript("OnClick")) then E.Options.args.sle.args.modules.args.uibuttons.args.Addon.args.called.values[k] = k end
 	end
 end