From 101c7f3046346c05e8a0928d0034c48f39ee221b Mon Sep 17 00:00:00 2001 From: EricksOliveira Date: Sun, 27 Jul 2025 18:45:04 -0300 Subject: [PATCH] . --- src/strategy/actions/BattleGroundTactics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/actions/BattleGroundTactics.cpp b/src/strategy/actions/BattleGroundTactics.cpp index 63e1512f..bebc2ed2 100644 --- a/src/strategy/actions/BattleGroundTactics.cpp +++ b/src/strategy/actions/BattleGroundTactics.cpp @@ -4163,7 +4163,7 @@ bool ArenaTactics::Execute(Event event) botAI->ChangeStrategy("-buff", BOT_STATE_NON_COMBAT); // Repositioning if the target is out of line of sight - Unit* target = botAI->GetCombatTarget(); + Unit* target = botAI->GetAiObject("current target"); if (target && !bot->IsWithinLOSInMap(target)) { float x, y, z;