temp fix for userdata errors AceConfig #32

This commit is contained in:
Pinya
2018-11-27 02:53:23 +03:00
parent 89d49f0153
commit 613f9da089
@@ -149,6 +149,10 @@ end
--gets an option from a given group, checking plugins --gets an option from a given group, checking plugins
local function GetSubOption(group, key) local function GetSubOption(group, key)
if type(key) == "table" then
key = key[1]
end
if group.plugins then if group.plugins then
for plugin, t in pairs(group.plugins) do for plugin, t in pairs(group.plugins) do
if t[key] then if t[key] then