cleanup cvars

This commit is contained in:
Crum
2018-02-23 23:32:00 -06:00
parent 54ec0d89b4
commit ccb6c8cf2a
2 changed files with 4 additions and 7 deletions
+3 -5
View File
@@ -201,13 +201,11 @@ local function SetupChat()
end
local function SetupCVars()
-- SetCVar("screenshotQuality", 10)
-- SetCVar("showNewbieTips", 0)
SHOW_NEWBIE_TIPS = 0
SetCVar("showLootSpam", 1)
SetCVar("UberTooltips", 1)
-- SetCVar("alwaysShowActionBars", 1)
-- SetCVar("lockActionBars", 1)
ALWAYS_SHOW_MULTIBARS = 1
LOCK_ACTIONBAR = 1
SetActionBarToggles(1, 0, 1, 1)
TutorialFrame_HideAllAlerts()
ClearTutorials()
+1 -2
View File
@@ -79,8 +79,7 @@ local function BuildABConfig()
set = function(info, value)
E.db.actionbar[ info[getn(info)] ] = value
AB:UpdateButtonSettings()
-- SetCVar("lockActionBars", (value == true and 1 or 0))
LOCK_ACTIONBAR = (value == true and "1" or "0")
LOCK_ACTIONBAR = (value == true and 1 or 0)
end
},
movementModifier = {