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);
|
sScriptMgr->OnArenaTypeIDToQueueID(bgTypeId, arenaType, queueTypeID);
|
||||||
|
|
||||||
|
return static_cast<BattlegroundQueueTypeId>(queueTypeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (BattlegroundMgr::bgToQueue.find(bgTypeId) != BattlegroundMgr::bgToQueue.end())
|
if (BattlegroundMgr::bgToQueue.find(bgTypeId) != BattlegroundMgr::bgToQueue.end())
|
||||||
|
|||||||
Reference in New Issue
Block a user