Skip to content

Commit c999854

Browse files
committed
LFG module no longer complains about legion dungeons
1 parent fff70df commit c999854

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

modules/showOwnRatingOnLFGTooltip.lua

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ function Module:OnTooltipShow(tooltip, resultId)
4848
local activityInfo = C_LFGList.GetActivityInfoTable(searchResultInfo.activityID, nil, searchResultInfo.isWarMode);
4949
if not activityInfo.isMythicPlusActivity then return; end
5050

51-
local mapId = self.ChallengeModeMapId_to_activityId_map[searchResultInfo.activityID];
52-
if not mapId and not missingActivityIds[searchResultInfo.activityID] then
53-
missingActivityIds[searchResultInfo.activityID] = true;
54-
Main:Print('LFG Module: no mapId found for activityID', searchResultInfo.activityID, 'please report this on curse or github');
51+
local mapId = self.ActivityIdToChallengeMapIdMap[searchResultInfo.activityID];
52+
if not mapId then
53+
if not missingActivityIds[searchResultInfo.activityID] then
54+
missingActivityIds[searchResultInfo.activityID] = true;
55+
--Main:Print('LFG Module: no mapId found for activityID', searchResultInfo.activityID, 'please report this on curse or github');
56+
end
5557
return;
5658
end
5759
local overallInfo = Util:GetOverallInfoByMapId(mapId);

0 commit comments

Comments
 (0)