diff --git a/src/strategy/actions/ChooseRpgTargetAction.cpp b/src/strategy/actions/ChooseRpgTargetAction.cpp index 4f460f70..57091017 100644 --- a/src/strategy/actions/ChooseRpgTargetAction.cpp +++ b/src/strategy/actions/ChooseRpgTargetAction.cpp @@ -303,7 +303,7 @@ bool ChooseRpgTargetAction::isFollowValid(Player* bot, WorldPosition pos) return true; } - if (inDungeon && realMaster == master && distance > 5.0f) + if ((inDungeon || !master->HasPlayerFlag(PLAYER_FLAGS_RESTING)) && realMaster == master && distance > 5.0f) return false; if (!master->isMoving() && distance < 25.0f)