aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/convar/concommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/core/convar/concommand.cpp')
-rw-r--r--NorthstarDLL/core/convar/concommand.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDLL/core/convar/concommand.cpp b/NorthstarDLL/core/convar/concommand.cpp
index 67c867f8..82594f04 100644
--- a/NorthstarDLL/core/convar/concommand.cpp
+++ b/NorthstarDLL/core/convar/concommand.cpp
@@ -2,6 +2,8 @@
#include "shared/misccommands.h"
#include "engine/r2engine.h"
+#include "plugins/pluginbackend.h"
+
#include <iostream>
//-----------------------------------------------------------------------------
@@ -148,4 +150,6 @@ ON_DLL_LOAD("engine.dll", ConCommand, (CModule module))
{
ConCommandConstructor = module.Offset(0x415F60).As<ConCommandConstructorType>();
AddMiscConCommands();
+
+ g_pPluginCommunicationhandler->m_sEngineData.ConCommandConstructor = ConCommandConstructor;
}