Skip to content
Snippets Groups Projects
Commit 76822cef authored by ChaoLoveIceMDBoy's avatar ChaoLoveIceMDBoy
Browse files

Expose the selectheading option from mapheader_t in Lua

parent 50e15840
No related branches found
No related tags found
No related merge requests found
...@@ -2189,6 +2189,8 @@ static int mapheaderinfo_get(lua_State *L) ...@@ -2189,6 +2189,8 @@ static int mapheaderinfo_get(lua_State *L)
lua_pushinteger(L, header->levelflags); lua_pushinteger(L, header->levelflags);
else if (fastcmp(field,"menuflags")) else if (fastcmp(field,"menuflags"))
lua_pushinteger(L, header->menuflags); lua_pushinteger(L, header->menuflags);
else if (fastcmp(field,"selectheading"))
lua_pushstring(L, header->selectheading);
else if (fastcmp(field,"startrings")) else if (fastcmp(field,"startrings"))
lua_pushinteger(L, header->startrings); lua_pushinteger(L, header->startrings);
else if (fastcmp(field, "sstimer")) else if (fastcmp(field, "sstimer"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment