Skip to content

Commit

Permalink
loading cvar flags elsewhere now
Browse files Browse the repository at this point in the history
  • Loading branch information
tdymel committed May 19, 2017
1 parent ff6761c commit ef97669
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion DPSMate/DPSMate.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- Global Variables
DPSMate = {}
DPSMate.VERSION = 115
DPSMate.VERSION = 116
DPSMate.LOCALE = GetLocale()
DPSMate.SYNCVERSION = DPSMate.VERSION..DPSMate.LOCALE
DPSMate.Parser = CreateFrame("Frame", nil, UIParent)
Expand Down
14 changes: 0 additions & 14 deletions DPSMate/DPSMate_DataBuilder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -652,20 +652,6 @@ DPSMate.DB.VARIABLES_LOADED = function()
DPSMate.Options:SetScript("OnEvent", function() this[event]() end)
DPSMate.Options:SetScript("OnUpdate", function() this:OnUpdate() end)

SetCVar("CombatLogPeriodicSpells", 1);

--[[
SetCVar("CombatLogRangeParty", 150);
SetCVar("CombatLogRangePartyPet", 150);
SetCVar("CombatLogRangeFriendlyPlayers", 150);
SetCVar("CombatLogRangeFriendlyPlayersPets", 150);
SetCVar("CombatLogRangeHostilePlayers", 150);
SetCVar("CombatLogRangeHostilePlayersPets", 150);
]]--

--SetCVar("CombatLogRangeCreature", 200);
SetCVar("CombatDeathLogRange", 200);

DPSMate:SendMessage("DPSMate build "..DPSMate.VERSION.." has been loaded!")
this.loaded = true
DPSMate.Options.PLAYER_ENTERING_WORLD()
Expand Down
14 changes: 14 additions & 0 deletions DPSMate/DPSMate_Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,20 @@ DPSMate.Options.PLAYER_ENTERING_WORLD = function()
end
end
end

SetCVar("CombatLogPeriodicSpells", 1);


SetCVar("CombatLogRangeParty", 200);
SetCVar("CombatLogRangePartyPet", 200);
SetCVar("CombatLogRangeFriendlyPlayers", 200);
SetCVar("CombatLogRangeFriendlyPlayersPets", 200);
SetCVar("CombatLogRangeHostilePlayers", 200);
SetCVar("CombatLogRangeHostilePlayersPets", 200);


SetCVar("CombatLogRangeCreature", 200);
SetCVar("CombatDeathLogRange", 200);
end

function DPSMate.Options:ShowResetPopUp()
Expand Down

0 comments on commit ef97669

Please sign in to comment.