Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainrider committed Dec 28, 2018
1 parent 971ef0c commit e7ebe39
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion elements/assistantindicator.lua
Expand Up @@ -27,6 +27,7 @@ local oUF = ns.oUF
local function Update(self, event)
local element = self.AssistantIndicator
local unit = self.unit
--[[ Callback: AssistantIndicator:PreUpdate()
Called before the element has been updated.
Expand All @@ -37,7 +38,6 @@ local function Update(self, event)
element:PreUpdate()
end
local unit = self.unit
local isAssistant = UnitInRaid(unit) and UnitIsGroupAssistant(unit) and not UnitIsGroupLeader(unit)
if(isAssistant) then
element:Show()
Expand Down
2 changes: 1 addition & 1 deletion elements/leaderindicator.lua
Expand Up @@ -27,6 +27,7 @@ local oUF = ns.oUF
local function Update(self, event)
local element = self.LeaderIndicator
local unit = self.unit
--[[ Callback: LeaderIndicator:PreUpdate()
Called before the element has been updated.
Expand All @@ -37,7 +38,6 @@ local function Update(self, event)
element:PreUpdate()
end
local unit = self.unit
local isLeader = (UnitInParty(unit) or UnitInRaid(unit)) and UnitIsGroupLeader(unit)
if(isLeader) then
element:Show()
Expand Down
2 changes: 1 addition & 1 deletion elements/phaseindicator.lua
Expand Up @@ -26,8 +26,8 @@ local _, ns = ...
local oUF = ns.oUF
local function Update(self, event)
local unit = self.unit
local element = self.PhaseIndicator
local unit = self.unit
--[[ Callback: PhaseIndicator:PreUpdate()
Called before the element has been updated.
Expand Down
3 changes: 1 addition & 2 deletions elements/raidroleindicator.lua
Expand Up @@ -29,9 +29,8 @@ local MAINTANK_ICON = [[Interface\GROUPFRAME\UI-GROUP-MAINTANKICON]]
local MAINASSIST_ICON = [[Interface\GROUPFRAME\UI-GROUP-MAINASSISTICON]]
local function Update(self, event)
local unit = self.unit
local element = self.RaidRoleIndicator
local unit = self.unit
--[[ Callback: RaidRoleIndicator:PreUpdate()
Called before the element has been updated.
Expand Down
2 changes: 1 addition & 1 deletion elements/readycheckindicator.lua
Expand Up @@ -58,6 +58,7 @@ end
local function Update(self, event)
local element = self.ReadyCheckIndicator
local unit = self.unit
--[[ Callback: ReadyCheckIndicator:PreUpdate()
Called before the element has been updated.
Expand All @@ -68,7 +69,6 @@ local function Update(self, event)
element:PreUpdate()
end
local unit = self.unit
local status = GetReadyCheckStatus(unit)
if(UnitExists(unit) and status) then
if(status == 'ready') then
Expand Down

0 comments on commit e7ebe39

Please sign in to comment.