diff options
author | Cyn <70904206+itscynxx@users.noreply.github.com> | 2023-11-20 18:14:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 01:14:37 +0100 |
commit | aeecd7a69be8de3afdca124ab624677bfd5582cf (patch) | |
tree | 1de9f97e3e21d6adda3659638310f83f82bb8116 | |
parent | 86c20013c85fd70370044d4a13e45436fb5f7069 (diff) | |
download | NorthstarLauncher-1.20.1-rc5.tar.gz NorthstarLauncher-1.20.1-rc5.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
-rw-r--r-- | NorthstarDLL/mods/modmanager.cpp | 4 |
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); } |