Skip to content

Commit

Permalink
[UnitFrames] Nameplates: Fix healer icon from always showing (mistake…
Browse files Browse the repository at this point in the history
… made during merge conflict resolution)
  • Loading branch information
EsreverWoW committed Nov 6, 2023
1 parent 57956b9 commit cd806e9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ShestakUI/Modules/UnitFrames/Nameplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,9 @@ if C.nameplate.healer_icon == true then
local _, talentSpec = GetSpecializationInfoByID(specID)
if name and healerSpecs[talentSpec] then
healList[name] = talentSpec
if not T.Vanilla then
local nameplate = C_NamePlate.GetNamePlateForUnit(format("arena%d", i))
if nameplate then
nameplate.unitFrame:UpdateAllElements("UNIT_NAME_UPDATE")
end
local nameplate = C_NamePlate.GetNamePlateForUnit(format("arena%d", i))
if nameplate then
nameplate.unitFrame:UpdateAllElements("UNIT_NAME_UPDATE")
end
end
end
Expand Down Expand Up @@ -480,7 +478,7 @@ local function UpdateTarget(self)
end

local function UpdateName(self)
if C.nameplate.healer_icon == true and self.HPHeal then
if C.nameplate.healer_icon == true then
local name = self.unitName
if name then
if healList[name] then
Expand Down

0 comments on commit cd806e9

Please sign in to comment.