You don't need to push the value twice, it's only used once

This commit is contained in:
James R 2020-04-09 17:30:53 -07:00
parent aca39d6210
commit dc25177457
1 changed files with 0 additions and 1 deletions

View File

@ -1631,7 +1631,6 @@ int LUA_InfoLib(lua_State *L)
lua_pushcfunction(L, lib_spriteinfolen);
lua_setfield(L, -2, "__len");
lua_setmetatable(L, -2);
lua_pushvalue(L, -1);
lua_setglobal(L, "spriteinfo");
luaL_newmetatable(L, META_LUABANKS);