diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-02-15 17:09:42 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-02-15 17:09:42 +0000 |
commit | 06c13fcc7c6c9b7b8448e550568c5993dbd96628 (patch) | |
tree | 8ba39163ab86765cfeed6b8d73d528ee6dd9bd33 /plugins/MirLua/src/m_genmenu.cpp | |
parent | a7967e3364a0b5528433de65cfbb743c57625e72 (diff) |
MirLua: returned ability to reload single script
git-svn-id: http://svn.miranda-ng.org/main/trunk@16282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.cpp')
-rw-r--r-- | plugins/MirLua/src/m_genmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index b0fbd794a7..21e1533f2a 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -2,7 +2,7 @@ void MakeMenuItem(lua_State *L, CMenuItem &mi)
{
- mi.hLangpack = g_mLua->GetHLangpack();
+ mi.hLangpack = CMLuaScript::GetScriptIdFromEnviroment(L);
lua_getfield(L, -1, "Flags");
mi.flags = lua_tointeger(L, -1);
|