mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 23:42:11 +00:00
lua_pushvalue is unneeded
This commit is contained in:
parent
deaf5cfa28
commit
35f1a4b76c
1 changed files with 0 additions and 1 deletions
|
@ -584,7 +584,6 @@ void LUA_PushLightUserdata (lua_State *L, void *data, const char *meta)
|
|||
applies it to the second value, which is the userdata.
|
||||
*/
|
||||
lua_setmetatable(L, -2);
|
||||
lua_pushvalue(L, -1);
|
||||
}
|
||||
else
|
||||
lua_pushnil(L);
|
||||
|
|
Loading…
Reference in a new issue