Core/LFG: Filter out lfg dungeons that have invalid map/difficulty pairs

This commit is contained in:
Shauren authored and Ovahlord committed 2022-12-30 17:41:35 +01:00
1 parent e8f8081b29
commit bc76d675fa
1 file changed
+3
@@ -205,6 +205,9 @@ void LFGMgr::LoadLFGDungeons(bool reload /* = false */)
if (!dungeon)
continue;
if (!sDBCManager.GetMapDifficultyData(dungeon->MapID, Difficulty(dungeon->DifficultyID)))
continue;
switch (dungeon->TypeID)
{
case LFG_TYPE_DUNGEON: