Skip to content

Commit

Permalink
Fix #825
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviana committed Apr 12, 2021
1 parent c8bef6a commit 95f472e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/overrides.lua
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ LUF.overrides["Health"].UpdateColor = function(self, event, unit)

local bg = element.bg
if(b) then
if element.colorInvert then
if element.colorInvert and UnitIsConnected(unit) then
element:SetStatusBarColor(0, 0, 0, 1)

if(bg) then
Expand Down

0 comments on commit 95f472e

Please sign in to comment.