Skip to content

Commit

Permalink
don use global
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Apr 3, 2024
1 parent 9cb626d commit f8938ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElvUI_EltreumUI/Modules/Misc/LFGList.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function ElvUI_EltreumUI:DungeonRoleIcons()
if entry.Name:GetText() ~= nil then
local score = resultInfo.leaderOverallDungeonScore or 0
local name = entry.Name:GetText() or ""
local color = C_ChallengeMode.GetDungeonScoreRarityColor(score) or HIGHLIGHT_FONT_COLOR
local color = C_ChallengeMode.GetDungeonScoreRarityColor(score) or { r = 1, g = 1, b = 1 }
local hex = E:RGBToHex(color.r, color.g, color.b, 'ff')
if not entry.Name:GetText():match(hex) then
entry.Name:SetText("[|c"..hex..score.."|r] "..name)
Expand Down

0 comments on commit f8938ac

Please sign in to comment.