fix Aura module options (localization independent for profile export)
This commit is contained in:
parent
1fb3fce980
commit
eaf8129143
@ -1,4 +1,4 @@
|
|||||||
local type, pairs, tinsert, tsort = type, pairs, table.insert, table.sort
|
local type, pairs, tinsert, tsort, tostring = type, pairs, table.insert, table.sort, tostring
|
||||||
|
|
||||||
local InterfaceOptionsFrame_OpenToFrame = InterfaceOptionsFrame_OpenToFrame
|
local InterfaceOptionsFrame_OpenToFrame = InterfaceOptionsFrame_OpenToFrame
|
||||||
local GetSpellInfo = GetSpellInfo
|
local GetSpellInfo = GetSpellInfo
|
||||||
@ -699,7 +699,7 @@ function Gladdy:GetAuras(auraType)
|
|||||||
if classSpells[i].texture then
|
if classSpells[i].texture then
|
||||||
texture = classSpells[i].texture
|
texture = classSpells[i].texture
|
||||||
end
|
end
|
||||||
args[classSpells[i].name] = {
|
args[tostring(classSpells[i].id[1])] = {
|
||||||
order = i,
|
order = i,
|
||||||
name = classSpells[i].name,
|
name = classSpells[i].name,
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
@ -707,7 +707,7 @@ function Gladdy:GetAuras(auraType)
|
|||||||
width = "2",
|
width = "2",
|
||||||
arg = classSpells[i].name
|
arg = classSpells[i].name
|
||||||
}
|
}
|
||||||
defaultDebuffs[classSpells[i].name] = true
|
defaultDebuffs[tostring(classSpells[i].id[1])] = true
|
||||||
end
|
end
|
||||||
return args
|
return args
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user