From c38ec8eac6dea473a119686eab0317676683dde5 Mon Sep 17 00:00:00 2001 From: Azilroka Date: Tue, 4 Jun 2019 17:57:11 -0500 Subject: [PATCH] Simpy 1, Azil 0 --- ElvUI/Modules/Nameplates/Nameplates.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ElvUI/Modules/Nameplates/Nameplates.lua b/ElvUI/Modules/Nameplates/Nameplates.lua index e3d4437ab..334c92589 100644 --- a/ElvUI/Modules/Nameplates/Nameplates.lua +++ b/ElvUI/Modules/Nameplates/Nameplates.lua @@ -107,7 +107,19 @@ function NP:SetCVars() SetCVar('nameplateOtherBottomInset', -1) end + -- the order of these is important !! + SetCVar('nameplateShowAll', GetCVar('nameplateShowAll')) SetCVar('nameplateShowSelf', (NP.db.units.PLAYER.useStaticPosition or not NP.db.units.PLAYER.enable) and 0 or 1) + SetCVar('nameplateShowEnemyMinions', GetCVar('nameplateShowEnemyMinions')) + SetCVar('nameplateShowEnemyGuardians', GetCVar('nameplateShowEnemyGuardians')) + SetCVar('nameplateShowEnemyMinus', GetCVar('nameplateShowEnemyMinus')) + SetCVar('nameplateShowEnemyPets', GetCVar('nameplateShowEnemyPets')) + SetCVar('nameplateShowEnemyTotems', GetCVar('nameplateShowEnemyTotems')) + SetCVar('nameplateShowFriendlyMinions', GetCVar('nameplateShowFriendlyMinions')) + SetCVar('nameplateShowFriendlyGuardians', GetCVar('nameplateShowFriendlyGuardians')) + SetCVar('nameplateShowFriendlyNPCs', GetCVar('nameplateShowFriendlyNPCs')) + SetCVar('nameplateShowFriendlyPets', GetCVar('nameplateShowFriendlyPets')) + SetCVar('nameplateShowFriendlyTotems', GetCVar('nameplateShowFriendlyTotems')) end function NP:PLAYER_REGEN_DISABLED() -- GitLab