diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-07-07 16:11:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-07 17:11:43 +0200 |
commit | 9f9e3a906f2792ee518c7d9910d70607469f80ae (patch) | |
tree | 0716bc0639a181c1a390eb3ca3d3e54a8c8bbf9d /NorthstarDLL/core | |
parent | 513705e33f59273c5b463c0da874a0066e8d0589 (diff) | |
download | NorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.tar.gz NorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.zip |
Improve logging for mods (#445)v1.16.3-rc2v1.16.3-rc1v1.16.3v1.16.2-rc1v1.16.2v1.16.1-rc1v1.16.11.16.X
- Removes the log spam of "changing mod search path"
- Logs mods as they are loaded, alongside their ConVars, Scripts, ConCommands, etc.
- Warns in the console about errors in the mod.json instead of silently skipping things
Diffstat (limited to 'NorthstarDLL/core')
-rw-r--r-- | NorthstarDLL/core/filesystem/filesystem.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/NorthstarDLL/core/filesystem/filesystem.cpp b/NorthstarDLL/core/filesystem/filesystem.cpp index d9c70476..e4da647f 100644 --- a/NorthstarDLL/core/filesystem/filesystem.cpp +++ b/NorthstarDLL/core/filesystem/filesystem.cpp @@ -73,8 +73,6 @@ void SetNewModSearchPaths(Mod* mod) { if ((fs::absolute(mod->m_ModDirectory) / MOD_OVERRIDE_DIR).string().compare(sCurrentModPath)) { - NS::log::fs->info("Changing mod search path from {} to {}", sCurrentModPath, mod->m_ModDirectory.string()); - AddSearchPath( &*(*g_pFilesystem), (fs::absolute(mod->m_ModDirectory) / MOD_OVERRIDE_DIR).string().c_str(), "GAME", PATH_ADD_TO_HEAD); sCurrentModPath = (fs::absolute(mod->m_ModDirectory) / MOD_OVERRIDE_DIR).string(); |