diff --git a/HelloDrone/main.cpp b/HelloDrone/main.cpp index a6c8a14465..ec94222b36 100644 --- a/HelloDrone/main.cpp +++ b/HelloDrone/main.cpp @@ -33,7 +33,7 @@ int main() const std::vector& response = client.simGetImages(request); std::cout << "# of images received: " << response.size() << std::endl; - if (!response.size()) { + if (response.size()) { std::cout << "Enter path with ending separator to save images (leave empty for no save)" << std::endl; std::string path; std::getline(std::cin, path);