Skip to content

Commit

Permalink
Fix options menu in some locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonomit committed Sep 30, 2024
1 parent 4cf2cc7 commit b4b1fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stats/Stats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b4b1fdb

Please sign in to comment.