Skip to content

Commit

Permalink
Activity: Makes all bots inside bgs always active instead all bots ou…
Browse files Browse the repository at this point in the history
…tside of bgs
  • Loading branch information
mostlikely4r committed Feb 22, 2025
1 parent 295e6c3 commit 9bf9fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/PlayerbotAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5687,7 +5687,7 @@ ActivePiorityType PlayerbotAI::GetPriorityType()
if (bot->IsBeingTeleported()) //We might end up in a bg so stay active.
return ActivePiorityType::IN_BATTLEGROUND;

if (!WorldPosition(bot).isBg())
if (WorldPosition(bot).isBg())
return ActivePiorityType::IN_BATTLEGROUND;

if (!WorldPosition(bot).isOverworld())
Expand Down

0 comments on commit 9bf9fc0

Please sign in to comment.