mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-10 19:01:50 +00:00
Add Lua Ultimate Mode global variable so people can use it.
This commit is contained in:
parent
fcee38d647
commit
71f97a4a92
1 changed files with 3 additions and 0 deletions
|
|
@ -8217,6 +8217,9 @@ static inline int lib_getenum(lua_State *L)
|
||||||
} else if (fastcmp(word,"maptol")) {
|
} else if (fastcmp(word,"maptol")) {
|
||||||
lua_pushinteger(L, maptol);
|
lua_pushinteger(L, maptol);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (fastcmp(word,"ultimatemode")) {
|
||||||
|
lua_pushboolean(L, ultimatemode != 0);
|
||||||
|
return 1;
|
||||||
} else if (fastcmp(word,"mariomode")) {
|
} else if (fastcmp(word,"mariomode")) {
|
||||||
lua_pushboolean(L, mariomode != 0);
|
lua_pushboolean(L, mariomode != 0);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue