diff --git a/Skin/Retail/Interface/FrameXML/LFGList.lua b/Skin/Retail/Interface/FrameXML/LFGList.lua index b749b357..b9484d96 100644 --- a/Skin/Retail/Interface/FrameXML/LFGList.lua +++ b/Skin/Retail/Interface/FrameXML/LFGList.lua @@ -129,8 +129,8 @@ do --[[ FrameXML\LFGList.lua ]] end function Hook.LFGListUtil_SetSearchEntryTooltip(tooltip, resultID, autoAcceptOption) local searchResultInfo = _G.C_LFGList.GetSearchResultInfo(resultID) - local _, _, _, _, _, _, _, _, displayType = _G.C_LFGList.GetActivityInfo(searchResultInfo.activityID) - if displayType ~= _G.LE_LFG_LIST_DISPLAY_TYPE_CLASS_ENUMERATE then return end + local activityInfo = _G.C_LFGList.GetActivityInfoTable(searchResultInfo.activityID) + if activityInfo.displayType ~= _G.Enum.LFGListDisplayType.ClassEnumerate then return end local name = tooltip:GetName() .. "TextLeft" local start diff --git a/dev/test.lua b/dev/test.lua index 43262a90..c0d0452f 100644 --- a/dev/test.lua +++ b/dev/test.lua @@ -127,7 +127,7 @@ local function LoadLFGFunctions() return info end function _G.C_LFGList.GetApplicationInfo(searchResultID) - return dungeonId, "invited", nil, nil, "TANK" + return dungeonId, "invited", nil, 1000, "TANK" end if _G.C_Scenario then