Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wetxius committed Nov 23, 2019
1 parent 58f2963 commit 4b3c6ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions ShestakUI/Modules/UnitFrames/RaidDPS.lua
Expand Up @@ -377,11 +377,6 @@ oUF:Factory(function(self)

if C.raidframe.raid_tanks == true then
-- Tanks
if C.raidframe.raid_tanks_tt == true then
mt_template = "oUF_MainTankTT"
else
mt_template = "oUF_MainTank"
end
local raidtank = self:SpawnHeader("oUF_MainTank", nil, "raid",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
Expand All @@ -390,7 +385,7 @@ oUF:Factory(function(self)
"showRaid", true,
"yOffset", T.Scale(-7),
"groupFilter", "MAINTANK",
"template", mt_template
"template", C.raidframe.raid_tanks_tt and "oUF_MainTankTT" or "oUF_MainTank"
)
if C.actionbar.split_bars then
raidtank:SetPoint(C.position.unitframes.tank[1], SplitBarRight, C.position.unitframes.tank[3], C.position.unitframes.tank[4], C.position.unitframes.tank[5])
Expand Down
7 changes: 1 addition & 6 deletions ShestakUI/Modules/UnitFrames/RaidHeal.lua
Expand Up @@ -432,11 +432,6 @@ oUF:Factory(function(self)

if C.raidframe.raid_tanks == true then
-- Tanks
if C.raidframe.raid_tanks_tt == true then
mt_template = "oUF_MainTankTT"
else
mt_template = "oUF_MainTank"
end
local raidtank = self:SpawnHeader("oUF_MainTank", nil, "raid",
"oUF-initialConfigFunction", ([[
self:SetWidth(%d)
Expand All @@ -445,7 +440,7 @@ oUF:Factory(function(self)
"showRaid", true,
"yOffset", T.Scale(-7),
"groupFilter", "MAINTANK",
"template", mt_template
"template", C.raidframe.raid_tanks_tt and "oUF_MainTankTT" or "oUF_MainTank"
)
if C.actionbar.split_bars then
raidtank:SetPoint(C.position.unitframes.tank[1], SplitBarRight, C.position.unitframes.tank[3], C.position.unitframes.tank[4], C.position.unitframes.tank[5])
Expand Down

0 comments on commit 4b3c6ab

Please sign in to comment.