Skip to content

Commit

Permalink
HideBlizzard: Fix auras not initially showing when hiding player
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Sep 8, 2022
1 parent 5d30df9 commit bc3f447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/HideBlizzard/HideBlizzard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,11 @@ end

function hiders:player()
hook_reparent_frames(PlayerFrame)
BuffFrame_Update()
end

function showers:player()
unhook_frames(PlayerFrame)
unhook_frames_without_init(PlayerFrame)
PlayerFrame:Show()
end

Expand Down Expand Up @@ -237,7 +238,6 @@ function showers:aura()
unhook_frames_without_init(BuffFrame, TemporaryEnchantFrame)
BuffFrame:RegisterUnitEvent("UNIT_AURA", "player", "vehicle")
BuffFrame:RegisterEvent("GROUP_ROSTER_UPDATE")
BuffFrame:RegisterEvent("PLAYER_SPECIALIZATION_CHANGED")
BuffFrame:Show()

TemporaryEnchantFrame:Show()
Expand Down

0 comments on commit bc3f447

Please sign in to comment.