Make emeralds writable.

This commit is contained in:
GoldenTails 2020-11-05 12:37:49 -06:00
parent 99a0a9a9eb
commit 7bf8a4d056

View file

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