Skip to content

Commit

Permalink
[Cata] Fix DropDown Lua error on Cataclysm
Browse files Browse the repository at this point in the history
  • Loading branch information
tukz committed Sep 24, 2024
1 parent 44f51c8 commit 1e616ff
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions Tukui/Modules/ChatFrames/ChatFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,30 @@ function Chat:AddToggles()
end
end

-- | | ___ | |_( ) __ _(_)_ __ ___ ___ | |/ /__ _| |_| |__
-- _ | |/ _ \ | __|/ / _` | | '_ ` _ \ / _ \ | ' // _` | __| '_ \
-- | |_| | __/ | |_ | (_| | | | | | | | __/ | . \ (_| | |_| | | |
-- \___/ \___| \__| \__,_|_|_| |_| |_|\___| |_|\_\__,_|\__|_| |_|

-- *********** ***********
-- ***************** *****************
-- ********************* *********************
-- *********************** ***********************
-- ************************ ************************
-- ************************* *************************
-- **************************************************
-- ************************************************
-- ********************************************
-- ****************************************
-- **********************************
-- ******************************
-- ************************
-- ********************
-- **************
-- **********
-- ******
-- **

function Chat:Setup()
for i = 1, NUM_CHAT_WINDOWS do
local Frame = _G["ChatFrame"..i]
Expand Down
2 changes: 1 addition & 1 deletion Tukui/Modules/Miscellaneous/DropDown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function DropDown:Skin()
end

function DropDown:Enable()
if (T.Retail) or (T.Cata and T.WoWBuild >= 56574) then
if (T.Retail) or (T.Cata and T.WoWBuild >= 56714) then
local Manager = Menu.GetManager()

hooksecurefunc(Manager, "OpenMenu", self.Skin)
Expand Down

0 comments on commit 1e616ff

Please # to comment.