mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
lua_pushvalue is unneeded
This commit is contained in:
parent
0f3a44887c
commit
21794e7a94
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.
|
applies it to the second value, which is the userdata.
|
||||||
*/
|
*/
|
||||||
lua_setmetatable(L, -2);
|
lua_setmetatable(L, -2);
|
||||||
lua_pushvalue(L, -1);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
lua_pushnil(L);
|
lua_pushnil(L);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue