mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-03 02:10:53 +01:00
Add explanatory note comment
This commit is contained in:
parent
bb14db9d91
commit
7446be330e
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ Table* luaH_clone(lua_State* L, Table* tt)
|
|||
t->node = cast_to(LuaNode*, dummynode);
|
||||
t->lastfree = 0;
|
||||
|
||||
if (!luaL_getmetafield(L, 1, "__metatable"))
|
||||
if (!luaL_getmetafield(L, 1, "__metatable")) // Prevent unauthorized assigning of locked metatables
|
||||
t->metatable = tt->metatable;
|
||||
|
||||
if (tt->sizearray)
|
||||
|
|
Loading…
Add table
Reference in a new issue