diff --git a/lib/pathfinder/PathfindingRules.cpp b/lib/pathfinder/PathfindingRules.cpp index 49de31ff7..ca71db460 100644 --- a/lib/pathfinder/PathfindingRules.cpp +++ b/lib/pathfinder/PathfindingRules.cpp @@ -273,9 +273,9 @@ PathfinderBlockingRule::BlockingReason MovementAfterDestinationRule::getBlocking if(destination.guarded) { if (pathfinderHelper->options.ignoreGuards) - return BlockingReason::DESTINATION_GUARDED; - else return BlockingReason::NONE; + else + return BlockingReason::DESTINATION_GUARDED; } break;