Skip to content

Commit

Permalink
Remove redundant metatable protection call
Browse files Browse the repository at this point in the history
  • Loading branch information
GinjaNinja32 committed May 22, 2024
1 parent aa62167 commit 0806816
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/scriptInterfaceMagic.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ struct convert<P<T>>
*p = new P<PObject>();
(**p) = ptr;

// protect the new userdata's metatable
protectLuaMetatable(L);

lua_rawset(L, -3);

lua_pushlightuserdata(L, ptr);
Expand Down

0 comments on commit 0806816

Please sign in to comment.