Make emeralds writable.

This commit is contained in:
GoldenTails 2020-11-05 12:37:49 -06:00
parent 998a10e8ad
commit a502b09929

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;