nameplates: avoid flickering as much as possible

This commit is contained in:
shagu
2017-01-03 15:58:59 +01:00
parent 4b322a6254
commit 7cddaa076b
+4
View File
@@ -43,7 +43,11 @@ pfUI:RegisterModule("nameplates", function ()
-- hide default plates
border:Hide()
-- try to avoid flickering as much as possible
glow:Hide()
glow:SetAlpha(0)
glow.Show = function() return end
if pfUI_config.nameplates.players == "1" then
if not pfUI_playerDB[name:GetText()] or not pfUI_playerDB[name:GetText()]["class"] then