aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-07-29 22:17:18 +0200
committerGitHub <noreply@github.com>2023-07-29 22:17:18 +0200
commite3f2c4c6622c83ac561f7e4cbf8601c50469d291 (patch)
tree4b09a0b78e61d9b402990fb44c51003fa2741e1c
parent82bff57d166ece1173ca7df33940171548015a71 (diff)
downloadNorthstarLauncher-e3f2c4c6622c83ac561f7e4cbf8601c50469d291.tar.gz
NorthstarLauncher-e3f2c4c6622c83ac561f7e4cbf8601c50469d291.zip
Warn about the package dir, not the mod dir (#526)
-rw-r--r--NorthstarDLL/mods/modmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index c54314c0..bf63fc41 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -627,7 +627,7 @@ void ModManager::LoadMods()
// Use regex to match `AUTHOR-MOD-VERSION` pattern
if (!std::regex_match(dir.path().string(), pattern))
{
- spdlog::warn("The following directory did not match 'AUTHOR-MOD-VERSION': {}", modsDir.string());
+ spdlog::warn("The following directory did not match 'AUTHOR-MOD-VERSION': {}", dir.path().string());
continue; // skip loading mod that doesn't match
}
if (fs::exists(modsDir) && fs::is_directory(modsDir))