diff --git a/src/game/BattleGround/BattleGroundAV.cpp b/src/game/BattleGround/BattleGroundAV.cpp index c197b1a8aa7..0f8b18690e8 100644 --- a/src/game/BattleGround/BattleGroundAV.cpp +++ b/src/game/BattleGround/BattleGroundAV.cpp @@ -273,7 +273,7 @@ void BattleGroundAV::UpdateScore(PvpTeamIndex teamIdx, int32 points) // note: to remove reinforcements points must be negative, for adding reinforcements points must be positive int32 newVal = std::max(GetBgMap()->GetVariableManager().GetVariable(worldStateId) + points, 0); - GetBgMap()->GetVariableManager().SetVariable(BG_AV_STATE_SCORE_A, newVal); + GetBgMap()->GetVariableManager().SetVariable(worldStateId, newVal); if (points < 0) {