aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL
diff options
context:
space:
mode:
authorCyn <70904206+itscynxx@users.noreply.github.com>2023-11-20 18:14:37 -0600
committerGitHub <noreply@github.com>2023-11-21 01:14:37 +0100
commitaeecd7a69be8de3afdca124ab624677bfd5582cf (patch)
tree1de9f97e3e21d6adda3659638310f83f82bb8116 /NorthstarDLL
parent86c20013c85fd70370044d4a13e45436fb5f7069 (diff)
downloadNorthstarLauncher-aeecd7a69be8de3afdca124ab624677bfd5582cf.tar.gz
NorthstarLauncher-aeecd7a69be8de3afdca124ab624677bfd5582cf.zip
Add mod versions when logging that a mod has loaded (#596)v1.20.1-rc5v1.20.1
Prints the version of the mod when loaded succesfully
Diffstat (limited to 'NorthstarDLL')
-rw-r--r--NorthstarDLL/mods/modmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index 8ad832c1..b7194d04 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -696,9 +696,9 @@ void ModManager::LoadMods()
if (mod.m_bWasReadSuccessfully)
{
if (mod.m_bEnabled)
- spdlog::info("'{}' loaded successfully", mod.Name);
+ spdlog::info("'{}' loaded successfully, version {}", mod.Name, mod.Version);
else
- spdlog::info("'{}' loaded successfully (DISABLED)", mod.Name);
+ spdlog::info("'{}' loaded successfully, version {} (DISABLED)", mod.Name, mod.Version);
m_LoadedMods.push_back(mod);
}