mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Make gravity writable.
This commit is contained in:
parent
69f24e34ad
commit
4a0fd2309e
1 changed files with 2 additions and 0 deletions
|
|
@ -380,6 +380,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
|
||||||
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
emeralds = (UINT16)luaL_checkinteger(L, 2);
|
||||||
else if (fastcmp(word, "token"))
|
else if (fastcmp(word, "token"))
|
||||||
token = (UINT32)luaL_checkinteger(L, 2);
|
token = (UINT32)luaL_checkinteger(L, 2);
|
||||||
|
else if (fastcmp(word, "gravity"))
|
||||||
|
gravity = (fixed_t)luaL_checkinteger(L, 2);
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue