From 741446978419d70d604a7feae32aecc6c37d7006 Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Sat, 18 Nov 2023 00:22:58 +0000 Subject: [PATCH] Break after finding valid Steam path --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 86d6ce2..5eb2d88 100644 --- a/main.cpp +++ b/main.cpp @@ -35,6 +35,7 @@ std::string get_steam_install_path() if (is_valid_steam_path(steam_path)) { found_steam_path = steam_path; + break; } }