- MenuEntry(const std::string &text, lua_State *L, int lua_ref)
- : text(text), is_submenu(false), entry{L, lua_ref} {}
+ MenuEntry(const std::string &text, lua_State *L, int lua_ref, unsigned flags)
+ : text(text), is_submenu(false), entry{L, lua_ref, flags} {}