aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/filesystem
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-07-07 16:11:43 +0100
committerGitHub <noreply@github.com>2023-07-07 17:11:43 +0200
commit9f9e3a906f2792ee518c7d9910d70607469f80ae (patch)
tree0716bc0639a181c1a390eb3ca3d3e54a8c8bbf9d /NorthstarDLL/core/filesystem
parent513705e33f59273c5b463c0da874a0066e8d0589 (diff)
downloadNorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.tar.gz
NorthstarLauncher-9f9e3a906f2792ee518c7d9910d70607469f80ae.zip
- 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/filesystem')
-rw-r--r--NorthstarDLL/core/filesystem/filesystem.cpp2
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();