From aeecd7a69be8de3afdca124ab624677bfd5582cf Mon Sep 17 00:00:00 2001 From: Cyn <70904206+itscynxx@users.noreply.github.com> Date: Mon, 20 Nov 2023 18:14:37 -0600 Subject: Add mod versions when logging that a mod has loaded (#596) Prints the version of the mod when loaded succesfully --- NorthstarDLL/mods/modmanager.cpp | 4 ++-- 1 file 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); } -- cgit v1.2.3