summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MirLua/src/environment.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MirLua/src/environment.cpp b/plugins/MirLua/src/environment.cpp
index ca04746b44..3127edee82 100644
--- a/plugins/MirLua/src/environment.cpp
+++ b/plugins/MirLua/src/environment.cpp
@@ -4,8 +4,9 @@
extern PLUGININFOEX pluginInfoEx;
-CMLuaEnvironment::CMLuaEnvironment(lua_State*)
- : CMPluginBase(nullptr, pluginInfoEx)
+CMLuaEnvironment::CMLuaEnvironment(lua_State *_l) :
+ CMPluginBase(nullptr, pluginInfoEx),
+ L(_l)
{
MUUID muidLast = MIID_LAST;
m_hLang = GetPluginLangId(muidLast, 0);