mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- potentially fix a bug with disabling the predictedPower cvar while the game is running
This commit is contained in:
@ -180,6 +180,11 @@ function PlayerMana.prototype:Update(unit)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- the user can toggle the predictedPower cvar at any time and the addon will not get notified. handle it.
|
||||||
|
if not self.tickerFrame and self:ShouldUseTicker() then
|
||||||
|
self:CreateTickerFrame()
|
||||||
|
end
|
||||||
|
|
||||||
if (self.manaType ~= 3 and self:ShouldUseTicker()) then
|
if (self.manaType ~= 3 and self:ShouldUseTicker()) then
|
||||||
self.tickerFrame:Hide()
|
self.tickerFrame:Hide()
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user