aboutsummaryrefslogtreecommitdiff
path: root/primedev/plugins/pluginmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/plugins/pluginmanager.cpp')
-rw-r--r--primedev/plugins/pluginmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/primedev/plugins/pluginmanager.cpp b/primedev/plugins/pluginmanager.cpp
index 718e6956..1abd0def 100644
--- a/primedev/plugins/pluginmanager.cpp
+++ b/primedev/plugins/pluginmanager.cpp
@@ -58,7 +58,7 @@ bool PluginManager::LoadPlugins(bool reloaded)
return false;
}
- fs::create_directories(GetThunderstoreModFolderPath());
+ fs::create_directories(GetThunderstoreLegacyModFolderPath());
std::vector<fs::path> paths;
@@ -71,7 +71,7 @@ bool PluginManager::LoadPlugins(bool reloaded)
FindPlugins(pluginPath, paths);
// Special case for Thunderstore mods dir
- std::filesystem::directory_iterator thunderstoreModsDir = fs::directory_iterator(GetThunderstoreModFolderPath());
+ std::filesystem::directory_iterator thunderstoreModsDir = fs::directory_iterator(GetThunderstoreLegacyModFolderPath());
// Set up regex for `AUTHOR-MOD-VERSION` pattern
std::regex pattern(R"(.*\\([a-zA-Z0-9_]+)-([a-zA-Z0-9_]+)-(\d+\.\d+\.\d+))");
for (fs::directory_entry dir : thunderstoreModsDir)