Make stoppedclock writable.

This commit is contained in:
GoldenTails 2020-11-05 15:22:45 -06:00
parent f42dee1871
commit 2b39a971ac

View file

@ -382,6 +382,8 @@ int LUA_CheckGlobals(lua_State *L, const char *word)
token = (UINT32)luaL_checkinteger(L, 2);
else if (fastcmp(word, "gravity"))
gravity = (fixed_t)luaL_checkinteger(L, 2);
else if (fastcmp(word, "stoppedclock"))
stoppedclock = luaL_checkboolean(L, 2);
else if (fastcmp(word, "displayplayer"))
{
player_t *player = *((player_t **)luaL_checkudata(L, 2, META_PLAYER));