Make gravity writable.

This commit is contained in:
GoldenTails 2020-11-05 12:39:03 -06:00
parent 113e6b6585
commit 8a0f55e4ad

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;