From c333ba84bee44549bb15675f353e04d22fb9f53c Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 11 Feb 2023 03:08:43 +0000 Subject: commit for merge --- NorthstarDLL/logging/crashhandler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'NorthstarDLL/logging/crashhandler.cpp') diff --git a/NorthstarDLL/logging/crashhandler.cpp b/NorthstarDLL/logging/crashhandler.cpp index d4a54169..84f8ac99 100644 --- a/NorthstarDLL/logging/crashhandler.cpp +++ b/NorthstarDLL/logging/crashhandler.cpp @@ -34,12 +34,10 @@ void PrintExceptionLog(ExceptionLog& exc) if (g_pModManager) { spdlog::error("Loaded mods: "); - for (const auto& mod : g_pModManager->m_LoadedMods) + for (const Mod& mod : g_pModManager->GetMods()) { if (mod.m_bEnabled) - { spdlog::error("{} {}", mod.Name, mod.Version); - } } } spdlog::error(exc.cause); -- cgit v1.2.3