mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fixed issue of Runes alpha being wrong after a teleport with a target
This commit is contained in:
@ -282,7 +282,7 @@ function Runes.prototype:Enable(core)
|
|||||||
if IceHUD.WowVer >= 70300 then
|
if IceHUD.WowVer >= 70300 then
|
||||||
self:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED", "UpdateRuneColors")
|
self:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED", "UpdateRuneColors")
|
||||||
end
|
end
|
||||||
self:RegisterEvent("PLAYER_ENTERING_WORLD", "ResetRuneAvailability")
|
self:RegisterEvent("PLAYER_ENTERING_WORLD", "EnteringWorld")
|
||||||
self:RegisterEvent("UNIT_MAXPOWER", "CheckMaxNumRunes")
|
self:RegisterEvent("UNIT_MAXPOWER", "CheckMaxNumRunes")
|
||||||
|
|
||||||
if (self.moduleSettings.hideBlizz) then
|
if (self.moduleSettings.hideBlizz) then
|
||||||
@ -290,6 +290,11 @@ function Runes.prototype:Enable(core)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Runes.prototype:EnteringWorld()
|
||||||
|
self:TargetChanged()
|
||||||
|
self:ResetRuneAvailability()
|
||||||
|
end
|
||||||
|
|
||||||
function Runes.prototype:Disable(core)
|
function Runes.prototype:Disable(core)
|
||||||
Runes.super.prototype.Disable(self, core)
|
Runes.super.prototype.Disable(self, core)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user