From b4b1fdb48bc3707ce63bfc356bfdc589bbe90137 Mon Sep 17 00:00:00 2001 From: Anonomit Date: Sun, 29 Sep 2024 23:47:16 -0400 Subject: [PATCH] Fix options menu in some locales --- Stats/Stats.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stats/Stats.lua b/Stats/Stats.lua index 63a951a..032914e 100644 --- a/Stats/Stats.lua +++ b/Stats/Stats.lua @@ -145,7 +145,7 @@ do for _, stat in ipairs{"Arcane Damage", "Fire Damage", "Nature Damage", "Frost Damage", "Shadow Damage", "Holy Damage"} do local rules = Addon:GetExtraStatCapture(stat) if rules then - spellDamageStats[stat] = Addon:ChainGsub(rules[1].INPUT, {"%(%[%%d[^%]]%]%+", "%(%%d%+%)", "%%s"}, {"^%^", "%$$", ""}, {"%%([^s])", "%1"}) + spellDamageStats[stat] = Addon:ChainGsub(rules[1].INPUT, {"%(%[%%d[^%]]*%]%+%)", "%(%%d%+%)", "%%s"}, {"^%^", "%$$", ""}, {"%%([^s])", "%1"}) end end