Commit c38ec8ea authored by Azilroka's avatar Azilroka

Simpy 1, Azil 0

parent 4c172446
...@@ -107,7 +107,19 @@ function NP:SetCVars() ...@@ -107,7 +107,19 @@ function NP:SetCVars()
SetCVar('nameplateOtherBottomInset', -1) SetCVar('nameplateOtherBottomInset', -1)
end 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('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 end
function NP:PLAYER_REGEN_DISABLED() function NP:PLAYER_REGEN_DISABLED()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment