Make token writable.

This commit is contained in:
GoldenTails 2020-11-05 12:38:47 -06:00
parent a502b09929
commit 113e6b6585

View file

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