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:
1 parent
2da53c4c1a
commit
e17611ff27
1 file changed
+1
-1
@@ -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)))
|
||||
|
||||
Reference in new issue
Block a user