mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-15 16:26:08 +00:00
feat(CI/Codestyle): check for curly brackets before/after if/else statements (#20977)
* feat(CI/Codestyle): check for braces after if/else statements * right need to edit a cpp file to trigger cpp check * Revert "right need to edit a cpp file to trigger cpp check" This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077. * fix codestyle in cpp * Update oculus.cpp * Update codestyle.py * Update codestyle.py * Update codestyle.py * Update codestyle.py
This commit is contained in:
@@ -775,9 +775,8 @@ void BattlegroundQueue::BattlegroundQueueUpdate(uint32 diff, BattlegroundTypeId
|
||||
|
||||
sScriptMgr->OnQueueUpdate(this, diff, bgTypeId, bracket_id, arenaType, isRated, arenaRating);
|
||||
|
||||
if (!sScriptMgr->OnQueueUpdateValidity(this, diff, bgTypeId, bracket_id, arenaType, isRated, arenaRating)) {
|
||||
if (!sScriptMgr->OnQueueUpdateValidity(this, diff, bgTypeId, bracket_id, arenaType, isRated, arenaRating))
|
||||
return;
|
||||
}
|
||||
|
||||
m_SelectionPools[TEAM_ALLIANCE].Init();
|
||||
m_SelectionPools[TEAM_HORDE].Init();
|
||||
|
||||
Reference in New Issue
Block a user