summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r--plugins/MirLua/src/environment.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp
index e0a5689296..ca04746b44 100644
--- a/plugins/MirLua/src/environment.cpp
+++ b/plugins/MirLua/src/environment.cpp
@@ -2,8 +2,10 @@
#define MT_ENVIRONMENT "ENVIRONMENT"
-CMLuaEnvironment::CMLuaEnvironment(lua_State *L)
- : CMPluginBase(nullptr, *(PLUGININFOEX*)nullptr), L(L)
+extern PLUGININFOEX pluginInfoEx;
+
+CMLuaEnvironment::CMLuaEnvironment(lua_State*)
+ : CMPluginBase(nullptr, pluginInfoEx)
{
MUUID muidLast = MIID_LAST;
m_hLang = GetPluginLangId(muidLast, 0);