Skip to content

Commit

Permalink
Some tweak for class color nameplates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Dec 22, 2015
1 parent e709ad6 commit 3061111
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions ShestakUI/Core/Kill.lua
Expand Up @@ -78,6 +78,7 @@ frame:SetScript("OnEvent", function(self, event, addon)
if C.nameplate.enable then
InterfaceOptionsCombatPanelEnemyCastBarsOnNameplates:Kill()
InterfaceOptionsNamesPanelUnitNameplatesNameplateClassColors:Kill()
SetCVar("ShowClassColorInNameplate", 1)
end

if C.minimap.enable then
Expand Down
1 change: 0 additions & 1 deletion ShestakUI/Core/Launch.lua
Expand Up @@ -7,7 +7,6 @@ local function InstallUI()
-- Don't need to set CVar multiple time
SetCVar("screenshotQuality", 8)
SetCVar("cameraDistanceMax", 50)
SetCVar("ShowClassColorInNameplate", 1)
SetCVar("showTutorials", 0)
SetCVar("gameTip", "0")
SetCVar("UberTooltips", 1)
Expand Down

1 comment on commit 3061111

@Wetxius
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Защита от изменения галочки. Теперь даже при переносе настроек, должны быть сразу цвета классов на вражеских неймплейтах.

Please sign in to comment.