mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-12-06 02:30:26 -08:00
Fixed played arena statistics
This commit is contained in:
parent
626630f0f6
commit
1c519f62ff
1 changed files with 2 additions and 0 deletions
|
|
@ -956,6 +956,8 @@ void Battleground::EndBattleground(TeamId winnerTeamId)
|
|||
// Arena lost => reset the win_rated_arena having the "no_lose" condition
|
||||
player->ResetAchievementCriteria(ACHIEVEMENT_CRITERIA_CONDITION_NO_LOSE, 0);
|
||||
}
|
||||
|
||||
player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_PLAY_ARENA, GetMapId());
|
||||
}
|
||||
|
||||
uint32 winner_kills = player->GetRandomWinner() ? BG_REWARD_WINNER_HONOR_LAST : BG_REWARD_WINNER_HONOR_FIRST;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue