Commit d56f6357 authored by Val Voronov's avatar Val Voronov Committed by Rainrider

phaseindicator: Add war mode support

parent c539b1ed
......@@ -37,7 +37,7 @@ local function Update(self, event)
element:PreUpdate()
end
local isInSamePhase = UnitInPhase(self.unit)
local isInSamePhase = UnitInPhase(self.unit) or 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