Skip to content

Commit

Permalink
notInterruptible icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimsbain committed May 24, 2018
1 parent 06285bd commit 6672e44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,8 @@ local function UpdateCastbar(frame)

-- Force Icon Texture

if ( frame.castBar.Icon ) then
if ( frame.castBar.Icon:GetTexture() == nil ) then
frame.castBar.Icon:SetTexture("Interface\\Icons\\Ability_DualWield")
end
if ( notInterruptible ) then
frame.castBar.Icon:SetTexture("Interface\\Icons\\Ability_Warrior_ShieldMastery")
frame.castBar.Icon:SetShown(true)
end

Expand Down

0 comments on commit 6672e44

Please sign in to comment.