From 504788195e0483b96670a8b19630a268c44e0cde Mon Sep 17 00:00:00 2001 From: wolfy852 Date: Fri, 10 Feb 2023 05:07:55 -0600 Subject: [PATCH] Remove crusty unused metatable code Forgot to nix this in my last commit --- src/lua_maplib.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lua_maplib.c b/src/lua_maplib.c index 1497510eb..be2c3347b 100644 --- a/src/lua_maplib.c +++ b/src/lua_maplib.c @@ -2784,14 +2784,6 @@ int LUA_MapLib(lua_State *L) //lua_pushcfunction(L, mapheaderinfo_num); //lua_setfield(L, -2, "__len"); lua_pop(L, 1); - -/* luaL_newmetatable(L, META_MUSNAME); - lua_pushcfunction(L, musname_get); - lua_setfield(L, -2, "__index"); - - lua_pushcfunction(L, musname_len); - lua_setfield(L, -2, "__len"); - lua_pop(L, 1);*/ luaL_newmetatable(L, META_ACTIVATOR); lua_pushcfunction(L, activator_get);