diff options
author | Shocker <shocker@freakz.ro> | 2019-01-12 20:56:53 +0200 |
---|---|---|
committer | Shocker <shocker@freakz.ro> | 2019-01-12 20:56:53 +0200 |
commit | 22589ee862ee3c37cfb3c9aaa5333225d9c1fda6 (patch) | |
tree | 662aae8ca55ac404c9fbe0b5c0c541c3b5bc6e9e /src | |
parent | f53a1fb1bc8b5d9773c2419a3fd6f9bf59067dce (diff) |
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"
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index eaa6428359a..bd8f1f81c1c 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -1629,7 +1629,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 > DIFFICULTY_NORMAL && player->GetBoundInstance(dungeon->map, Difficulty(dungeon->difficulty))) |