From eaf812914338a329330f9d624e1f50628b74938d Mon Sep 17 00:00:00 2001 From: Sumsebrum Date: Tue, 18 May 2021 16:39:07 +0200 Subject: [PATCH] fix Aura module options (localization independent for profile export) --- Options.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Options.lua b/Options.lua index 6e0df71..fc7fa5d 100644 --- a/Options.lua +++ b/Options.lua @@ -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 GetSpellInfo = GetSpellInfo @@ -699,7 +699,7 @@ function Gladdy:GetAuras(auraType) if classSpells[i].texture then texture = classSpells[i].texture end - args[classSpells[i].name] = { + args[tostring(classSpells[i].id[1])] = { order = i, name = classSpells[i].name, type = "toggle", @@ -707,7 +707,7 @@ function Gladdy:GetAuras(auraType) width = "2", arg = classSpells[i].name } - defaultDebuffs[classSpells[i].name] = true + defaultDebuffs[tostring(classSpells[i].id[1])] = true end return args end