Core/LFG: Change lock status to LFG_LOCKSTATUS_NOT_IN_SEASON for disabled dungeons, more explanatory

Shows "This instance is not available yet" instead of "You are already locked to this instance"

(cherry picked from commit 22589ee862ee3c37cfb3c9aaa5333225d9c1fda6)
This commit is contained in:
Shocker authored and funjoker committed 2023-10-10 20:00:35 +02:00
1 parent 2da53c4c1a
commit e17611ff27
1 file changed
+1 -1
+1 -1
View File
@@ -1798,7 +1798,7 @@ LfgLockMap const LFGMgr::GetLockedDungeons(ObjectGuid guid)
else if (dungeon->expansion > expansion)
lockStatus = LFG_LOCKSTATUS_INSUFFICIENT_EXPANSION;
else if (DisableMgr::IsDisabledFor(DISABLE_TYPE_MAP, dungeon->map, player))
lockStatus = LFG_LOCKSTATUS_RAID_LOCKED;
lockStatus = LFG_LOCKSTATUS_NOT_IN_SEASON;
else if (DisableMgr::IsDisabledFor(DISABLE_TYPE_LFG_MAP, dungeon->map, player))
lockStatus = LFG_LOCKSTATUS_RAID_LOCKED;
else if (dungeon->difficulty > DUNGEON_DIFFICULTY_NORMAL && player->GetBoundInstance(dungeon->map, Difficulty(dungeon->difficulty)))