Core/LFG: Filter out lfg dungeons that have invalid map/difficulty pairs
This commit is contained in:
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:
|
||||
|
||||
Reference in new issue
Block a user