Change all use of heroclass to use RAID_CLASS_COLORS instead. This can be changed to CUSTOM_CLASS_COLORS later with a color picker for each class, but to support CoA classes need to go back to being colored properly.
Fix remaining lua errors covered by ascension patches Add Addon Skins Add Enhanced Friends List
This commit is contained in:
@@ -186,7 +186,7 @@ function UF:FrameGlow_SetGlowColor(glow, unit, which)
|
||||
if isPlayer then
|
||||
local _, class = UnitClass(unit)
|
||||
if class then
|
||||
local color = E.media.herocolor
|
||||
local color = UnitIsUnit("player", unit) and E.media.herocolor or RAID_CLASS_COLORS[class]
|
||||
if color then
|
||||
r, g, b = color.r, color.g, color.b
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user