Make gravity writable.

This commit is contained in:
GoldenTails 2020-11-05 12:39:03 -06:00
parent 69f24e34ad
commit 4a0fd2309e

View file

@ -380,6 +380,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
emeralds = (UINT16)luaL_checkinteger(L, 2);
else if (fastcmp(word, "token"))
token = (UINT32)luaL_checkinteger(L, 2);
else if (fastcmp(word, "gravity"))
gravity = (fixed_t)luaL_checkinteger(L, 2);
else
return 0;