mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Add read access to shareEmblems (as well as a few other MAINCFG variables that weren't)
This commit is contained in:
parent
d7c5e16f6c
commit
30f6ae6e56
1 changed files with 12 additions and 0 deletions
|
@ -306,6 +306,18 @@ int LUA_PushGlobals(lua_State *L, const char *word)
|
|||
lua_pushinteger(L, ammoremovaltics);
|
||||
return 1;
|
||||
// end timers
|
||||
} else if (fastcmp(word,"use1upSound")) {
|
||||
lua_pushinteger(L, use1upSound);
|
||||
return 1;
|
||||
} else if (fastcmp(word,"maxXtraLife")) {
|
||||
lua_pushinteger(L, maxXtraLife);
|
||||
return 1;
|
||||
} else if (fastcmp(word,"useContinues")) {
|
||||
lua_pushinteger(L, useContinues);
|
||||
return 1;
|
||||
} else if (fastcmp(word,"shareEmblems")) {
|
||||
lua_pushinteger(L, shareEmblems);
|
||||
return 1;
|
||||
} else if (fastcmp(word,"gametype")) {
|
||||
lua_pushinteger(L, gametype);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue