mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 22:52:50 +00:00
Merge branch 'expose-selectheading' into 'next'
Expose mapheader_t's selectheading option to Lua See merge request STJr/SRB2!1268
This commit is contained in:
commit
167715d8e0
1 changed files with 2 additions and 0 deletions
|
|
@ -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"))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue