mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
whoops
This commit is contained in:
parent
fc82c8cec2
commit
c11cb0b0e6
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue