mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Core/BGQueue): correct return BattlegroundQueueTypeId (#5304)
This commit is contained in:
@@ -746,6 +746,8 @@ BattlegroundQueueTypeId BattlegroundMgr::BGQueueTypeId(BattlegroundTypeId bgType
|
||||
}
|
||||
|
||||
sScriptMgr->OnArenaTypeIDToQueueID(bgTypeId, arenaType, queueTypeID);
|
||||
|
||||
return static_cast<BattlegroundQueueTypeId>(queueTypeID);
|
||||
}
|
||||
|
||||
if (BattlegroundMgr::bgToQueue.find(bgTypeId) != BattlegroundMgr::bgToQueue.end())
|
||||
|
||||
Reference in New Issue
Block a user