diff --git a/src/strategy/Engine.cpp b/src/strategy/Engine.cpp index 57b3a144..6c86c23a 100644 --- a/src/strategy/Engine.cpp +++ b/src/strategy/Engine.cpp @@ -261,8 +261,9 @@ bool Engine::DoNextAction(Unit* unit, uint32 depth, bool minimal) lastRelevance = 0.0f; PushDefaultActions(); - // if (queue.Peek() && depth < 1 && !minimal) - // return DoNextAction(unit, depth + 1, minimal); + // prevent the delay after pushing default actions + if (queue.Peek() && depth < 1 && !minimal) + return DoNextAction(unit, depth + 1, minimal); } // MEMORY FIX TEST