diff options
-rw-r--r-- | plugins/MirLua/src/mlua_metatable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h index dd8f50032d..2a11648420 100644 --- a/plugins/MirLua/src/mlua_metatable.h +++ b/plugins/MirLua/src/mlua_metatable.h @@ -48,8 +48,8 @@ private: udata = (T**)lua_newuserdata(L, sizeof(T*));
*udata = MT::Init(obj);
//case LUA_TUSERDATA:
- // luaL_setmetatable(L, MT::name);
- // return 1;
+ luaL_setmetatable(L, MT::name);
+ return 1;
}
lua_pushnil(L);
|