This commit is contained in:
LoganDark 2021-11-13 06:43:46 -08:00
parent fc82c8cec2
commit c11cb0b0e6
No known key found for this signature in database
GPG key ID: B8C37CEDE1AC60EA

View file

@ -882,8 +882,8 @@ int lua_setmetatable(lua_State* L, int objindex)
case LUA_TFATUSERDATA:
{
mpvalue(obj) = (void*)mt;
if (mt)
luaC_objbarrier(L, uvalue(obj), mt);
//if (mt)
// TODO find the right barrier
break;
}
default: