mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Add pointlimit and timelimit to Lua.
This commit is contained in:
parent
15a403c39b
commit
6a5d68a979
1 changed files with 6 additions and 0 deletions
|
|
@ -10828,6 +10828,12 @@ static inline int lib_getenum(lua_State *L)
|
||||||
} else if (fastcmp(word,"redscore")) {
|
} else if (fastcmp(word,"redscore")) {
|
||||||
lua_pushinteger(L, redscore);
|
lua_pushinteger(L, redscore);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (fastcmp(word,"timelimit")) {
|
||||||
|
lua_pushinteger(L, cv_timelimit.value);
|
||||||
|
return 1;
|
||||||
|
} else if (fastcmp(word,"pointlimit")) {
|
||||||
|
lua_pushinteger(L, cv_pointlimit.value);
|
||||||
|
return 1;
|
||||||
// begin map vars
|
// begin map vars
|
||||||
} else if (fastcmp(word,"spstage_start")) {
|
} else if (fastcmp(word,"spstage_start")) {
|
||||||
lua_pushinteger(L, spstage_start);
|
lua_pushinteger(L, spstage_start);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue