diff --git a/src/Ai/Base/Actions/FollowActions.cpp b/src/Ai/Base/Actions/FollowActions.cpp index f82b05368..baa6e3e41 100644 --- a/src/Ai/Base/Actions/FollowActions.cpp +++ b/src/Ai/Base/Actions/FollowActions.cpp @@ -259,6 +259,8 @@ bool FollowAction::isUseful() Unit* fTarget = nullptr; if (!target.empty()) fTarget = AI_VALUE(Unit*, target); + else if (botAI->GetMaster()) + fTarget = botAI->GetMaster(); else fTarget = AI_VALUE(Unit*, "group leader");