Unverified Commit 36785d2d authored by Val Voronov's avatar Val Voronov Committed by GitHub

phaseindicator: Fix logic (#446)

Respect De Morgan's laws :grin::gun:
parent d56f6357
......@@ -37,7 +37,7 @@ local function Update(self, event)
element:PreUpdate()
end
local isInSamePhase = UnitInPhase(self.unit) or not UnitIsWarModePhased(self.unit)
local isInSamePhase = UnitInPhase(self.unit) and not UnitIsWarModePhased(self.unit)
if(isInSamePhase) then
element:Hide()
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment