From e17611ff2765717ee13e687f3892a8fba00aa9a3 Mon Sep 17 00:00:00 2001 From: Shocker Date: Sat, 12 Jan 2019 20:56:53 +0200 Subject: [PATCH] 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) --- src/server/game/DungeonFinding/LFGMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 8a82165aad..9eab3973ed 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -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)))