summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_genmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/m_genmenu.cpp')
-rw-r--r--plugins/MirLua/src/m_genmenu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp
index 8ec5baa7a3..25252f2d7b 100644
--- a/plugins/MirLua/src/m_genmenu.cpp
+++ b/plugins/MirLua/src/m_genmenu.cpp
@@ -140,8 +140,8 @@ static luaL_Reg genmenuApi[] =
{ "CheckMenuItem", lua_CheckMenuItem },
{ "RemoveMenuItem", lua_RemoveMenuItem },
- { "MO_MAIN", NULL },
- { "MO_CONTACT", NULL },
+ //{ "MO_MAIN", NULL },
+ //{ "MO_CONTACT", NULL },
{ NULL, NULL }
};
@@ -149,10 +149,10 @@ static luaL_Reg genmenuApi[] =
LUAMOD_API int luaopen_m_genmenu(lua_State *L)
{
luaL_newlib(L, genmenuApi);
- lua_pushinteger(L, MO_MAIN);
+ /*lua_pushinteger(L, MO_MAIN);
lua_setfield(L, -2, "MO_MAIN");
lua_pushinteger(L, MO_CONTACT);
- lua_setfield(L, -2, "MO_CONTACT");
+ lua_setfield(L, -2, "MO_CONTACT");*/
return 1;
}