summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MirLua/src/mlua.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp
index ccd843d5be..e76731e11b 100644
--- a/plugins/MirLua/src/mlua.cpp
+++ b/plugins/MirLua/src/mlua.cpp
@@ -22,7 +22,8 @@ void CMLua::Load()
lua_setfield(L, -2, "cpath");
lua_pop(L, 1);
- hScriptsLangpack = GetPluginLangId(MIID_LAST, 0);
+ MUUID muidLast = MIID_LAST;
+ hScriptsLangpack = GetPluginLangId(muidLast, 0);
CLuaModuleLoader::Load(L);
CLuaScriptLoader::Load(L);