aboutsummaryrefslogtreecommitdiff
path: root/primedev/logging
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/logging')
-rw-r--r--primedev/logging/crashhandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/primedev/logging/crashhandler.cpp b/primedev/logging/crashhandler.cpp
index a01de5a1..75ca8544 100644
--- a/primedev/logging/crashhandler.cpp
+++ b/primedev/logging/crashhandler.cpp
@@ -4,6 +4,7 @@
#include "util/version.h"
#include "mods/modmanager.h"
#include "plugins/plugins.h"
+#include "plugins/pluginmanager.h"
#include <minidumpapiset.h>
@@ -524,9 +525,9 @@ void CCrashHandler::FormatLoadedPlugins()
if (g_pPluginManager)
{
spdlog::error("Loaded Plugins:");
- for (const Plugin& plugin : g_pPluginManager->m_vLoadedPlugins)
+ for (const Plugin& plugin : g_pPluginManager->GetLoadedPlugins())
{
- spdlog::error("\t{}", plugin.name);
+ spdlog::error("\t{}", plugin.GetName());
}
}
}