diff options
author | Xinef <none@empty.com> | 2017-02-05 16:39:56 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-04-26 22:58:51 +0200 |
commit | 6f7ff9a3efd10cd4f776a67540109e7bb774f1c5 (patch) | |
tree | 7a7339a82880134b10f6f4b0856d95cbbc44892b /src/server/game/Battlegrounds/Arena.cpp | |
parent | 0763844fb604075580e1c84672cb2e4a4fe19cde (diff) |
Core/Achievements: Optimized resetting achievement criteria by condition and changed the functionality to properly reset all possible criteria with given condition
Closes #18905
(cherry picked from commit 7c7b877c3fc0292f33f54f4e8b514be3bf8514a6)
Diffstat (limited to 'src/server/game/Battlegrounds/Arena.cpp')
-rw-r--r-- | src/server/game/Battlegrounds/Arena.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Arena.cpp b/src/server/game/Battlegrounds/Arena.cpp index 129c0df6ce1..c642fdc1b62 100644 --- a/src/server/game/Battlegrounds/Arena.cpp +++ b/src/server/game/Battlegrounds/Arena.cpp @@ -274,7 +274,7 @@ void Arena::EndBattleground(uint32 winner) loserArenaTeam->MemberLost(player, winnerMatchmakerRating, loserMatchmakerChange); // Arena lost => reset the win_rated_arena having the "no_lose" condition - player->ResetCriteria(CRITERIA_TYPE_WIN_RATED_ARENA, CRITERIA_CONDITION_NO_LOSE); + player->ResetCriteria(CRITERIA_CONDITION_NO_LOSE, 0); } } |