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:
@@ -57,7 +57,7 @@ function DT:BattlegroundStats()
|
||||
for i = 1, GetNumBattlefieldScores() do
|
||||
local name = GetBattlefieldScore(i)
|
||||
if name and name == E.myname then
|
||||
local classColor = E.media.herocolor
|
||||
local classColor = RAID_CLASS_COLORS[E.myclass]
|
||||
|
||||
DT.tooltip:AddDoubleLine(L["Stats For:"], name, 1, 1, 1, classColor.r, classColor.g, classColor.b)
|
||||
DT.tooltip:AddLine(" ")
|
||||
|
||||
Reference in New Issue
Block a user