diff options
author | Jan <sentrycraft123@gmail.com> | 2023-07-29 22:17:18 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2023-07-29 22:58:34 +0200 |
commit | 6beb2b1a0a93263e16a6f5a555d76e12b51ca94f (patch) | |
tree | 089de393e99e50805057bfa4b8104bdda07d7afd | |
parent | 99e3d106d869866abf8bded9ee4dba9726fe767c (diff) | |
download | NorthstarLauncher-6beb2b1a0a93263e16a6f5a555d76e12b51ca94f.tar.gz NorthstarLauncher-6beb2b1a0a93263e16a6f5a555d76e12b51ca94f.zip |
Warn about the package dir, not the mod dir (#526)
(cherry picked from commit e3f2c4c6622c83ac561f7e4cbf8601c50469d291)
-rw-r--r-- | NorthstarDLL/mods/modmanager.cpp | 2 |
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)) |