From 738bca93012c7fc1fcb990c30c3bac9747b81d42 Mon Sep 17 00:00:00 2001 From: Gethe Date: Mon, 24 Oct 2022 00:28:40 -0400 Subject: [PATCH] Fix luacheck errors --- Skin/Classic/Interface/SharedXML/Pools.lua | 2 +- Skin/Retail/Interface/AddOns/Blizzard_AchievementUI.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Skin/Classic/Interface/SharedXML/Pools.lua b/Skin/Classic/Interface/SharedXML/Pools.lua index 4e54be61..689686cc 100644 --- a/Skin/Classic/Interface/SharedXML/Pools.lua +++ b/Skin/Classic/Interface/SharedXML/Pools.lua @@ -6,7 +6,7 @@ if private.shouldSkip() then return end -- [[ Core ]] local Aurora = private.Aurora -local Hook, Skin = Aurora.Hook, Aurora.Skin +local Hook = Aurora.Hook local Util = Aurora.Util do --[[ SharedXML\Pools.lua ]] diff --git a/Skin/Retail/Interface/AddOns/Blizzard_AchievementUI.lua b/Skin/Retail/Interface/AddOns/Blizzard_AchievementUI.lua index 9eeb126b..e6c5f574 100644 --- a/Skin/Retail/Interface/AddOns/Blizzard_AchievementUI.lua +++ b/Skin/Retail/Interface/AddOns/Blizzard_AchievementUI.lua @@ -604,7 +604,7 @@ end function private.AddOns.Blizzard_AchievementUI() if private.isPatch then - --_G.hooksecurefunc("AchievementFrame_RefreshView", Hook.AchievementFrame_RefreshView) + _G.hooksecurefunc("AchievementFrame_RefreshView", Hook.AchievementFrame_RefreshView) else _G.hooksecurefunc("AchievementFrame_UpdateTabs", Hook.AchievementFrame_UpdateTabs) _G.hooksecurefunc("AchievementFrame_ToggleView", Hook.AchievementFrame_RefreshView)