Skip to content

Commit

Permalink
Fix nameplate name color
Browse files Browse the repository at this point in the history
  • Loading branch information
Witnesscm committed Feb 6, 2021
1 parent 242fdd7 commit bf82b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/UnitFrames/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ function UF:SetTag(frame)
frame:Tag(name, "[fulllevel] "..colorStr.."[name][afkdnd]")
elseif mystyle == "focus" then
frame:Tag(name, colorStr.."[name][afkdnd]")
elseif mystyle == "nameplate" then
frame:Tag(name, "[nplevel][name]")
elseif mystyle == "arena" then
frame:Tag(name, "[arenaspec] "..colorStr.."[name]")
elseif mystyle == "raid" and C.db["UFs"]["SimpleMode"] and C.db["UFs"]["ShowTeamIndex"] and not frame.isPartyPet and not frame.isPartyFrame then
Expand Down Expand Up @@ -46,8 +48,6 @@ function UF:SetupNameText()
end

function UF:OnLogin()
UF.db = NDuiPlusDB["UnitFrames"]

P:Delay(1, function()
UF:SetupNameText()
UF:SetIconsHook()
Expand Down

0 comments on commit bf82b06

Please sign in to comment.