Skip to content

Commit 41e48ff

Browse files
ShockerShauren
authored andcommitted
Core/Battlegrounds: Remove temporary currency bonus auras before rewarding player at battleground end
(cherry picked from commit a2f6a2b)
1 parent 4bec944 commit 41e48ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/server/game/Battlegrounds/Battleground.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,10 @@ void Battleground::EndBattleground(uint32 winner)
769769
CharacterDatabase.Execute(stmt);
770770
}
771771

772+
// remove temporary currency bonus auras before rewarding player
773+
player->RemoveAura(SPELL_HONORABLE_DEFENDER_25Y);
774+
player->RemoveAura(SPELL_HONORABLE_DEFENDER_60Y);
775+
772776
// Reward winner team
773777
if (team == winner)
774778
{

0 commit comments

Comments
 (0)