mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Expose r_splitscreen
This commit is contained in:
parent
161d375532
commit
613b6ad44c
1 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ int LUA_PushGlobals(lua_State *L, const char *word)
|
||||||
} else if (fastcmp(word,"splitscreen")) {
|
} else if (fastcmp(word,"splitscreen")) {
|
||||||
lua_pushinteger(L, splitscreen);
|
lua_pushinteger(L, splitscreen);
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (fastcmp(word,"r_splitscreen")) {
|
||||||
|
lua_pushinteger(L, r_splitscreen);
|
||||||
|
return 1;
|
||||||
} else if (fastcmp(word,"gamecomplete")) {
|
} else if (fastcmp(word,"gamecomplete")) {
|
||||||
lua_pushboolean(L, (gamecomplete != 0));
|
lua_pushboolean(L, (gamecomplete != 0));
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue