diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 08d8f1a95..ed83ca2b3 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -887,6 +887,8 @@ int CLuaInstance::MenuAddItem(lua_State *L) if (type == "back") { m->m->addItem(GenericMenuBack); } else if (type == "separator") { + m->m->addItem(GenericMenuSeparator); + } else if (type == "separatorline") { if (!b->name.empty()) { m->m->addItem(new CMenuSeparator(CMenuSeparator::STRING | CMenuSeparator::LINE, b->name.c_str(), NONEXISTANT_LOCALE)); } else {