mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -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
|
||||
self:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED", "UpdateRuneColors")
|
||||
end
|
||||
self:RegisterEvent("PLAYER_ENTERING_WORLD", "ResetRuneAvailability")
|
||||
self:RegisterEvent("PLAYER_ENTERING_WORLD", "EnteringWorld")
|
||||
self:RegisterEvent("UNIT_MAXPOWER", "CheckMaxNumRunes")
|
||||
|
||||
if (self.moduleSettings.hideBlizz) then
|
||||
@ -290,6 +290,11 @@ function Runes.prototype:Enable(core)
|
||||
end
|
||||
end
|
||||
|
||||
function Runes.prototype:EnteringWorld()
|
||||
self:TargetChanged()
|
||||
self:ResetRuneAvailability()
|
||||
end
|
||||
|
||||
function Runes.prototype:Disable(core)
|
||||
Runes.super.prototype.Disable(self, core)
|
||||
|
||||
|
Reference in New Issue
Block a user