From 17b990ce89847ddb64097e02f8050e18c3991a1e Mon Sep 17 00:00:00 2001 From: Alphalaneous <38200084+Alphalaneous@users.noreply.github.com> Date: Wed, 25 Dec 2024 22:43:29 -0500 Subject: [PATCH] Update Utils.h --- src/Utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils.h b/src/Utils.h index fd38cb8..1e23bb8 100644 --- a/src/Utils.h +++ b/src/Utils.h @@ -207,11 +207,11 @@ namespace Utils { filenameCache.clear(); for (std::string packPath : getActivePacks()) { for (const auto& entry : std::filesystem::recursive_directory_iterator(packPath)) { - if (entry.is_regular_file()) { + /*if (entry.is_regular_file()) { std::string pathStr = entry.path().string(); std::string subStr = pathStr.substr(packPath.size()); filenameCache[utils::string::replace(subStr, "\\", "/")] = true; - } + }*/ } } }