From ebac521872d50fe00eca07f5708dcab56e512efc Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Thu, 10 Mar 2022 21:03:14 +0100 Subject: [PATCH] HideBlizzard: Switch PlayerFrame to hooking so it rehides (#32) --- Modules/HideBlizzard/HideBlizzard.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/HideBlizzard/HideBlizzard.lua b/Modules/HideBlizzard/HideBlizzard.lua index faa99488..6bdc94c7 100755 --- a/Modules/HideBlizzard/HideBlizzard.lua +++ b/Modules/HideBlizzard/HideBlizzard.lua @@ -128,10 +128,11 @@ local function unhook_frames_without_init(...) end function hiders:player() - PlayerFrame:Hide() + hook_frames(PlayerFrame) end function showers:player() + unhook_frames(PlayerFrame) PlayerFrame:Show() end