mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 04:00:41 +00:00
Fix lua_pop -> lua_remove use in G_SetCustomExitVars lua
This commit is contained in:
parent
dd107724de
commit
e2b8ff26db
1 changed files with 1 additions and 1 deletions
|
@ -1934,7 +1934,7 @@ static int lib_gSetCustomExitVars(lua_State *L)
|
||||||
if (lua_isnumber(L, 1) || n >= 2)
|
if (lua_isnumber(L, 1) || n >= 2)
|
||||||
{
|
{
|
||||||
nextmapoverride = (INT16)luaL_checknumber(L, 1);
|
nextmapoverride = (INT16)luaL_checknumber(L, 1);
|
||||||
lua_pop(L, 1); // pop nextmapoverride; skipstats now 1 if available
|
lua_remove(L, 1); // remove nextmapoverride; skipstats now 1 if available
|
||||||
}
|
}
|
||||||
skipstats = lua_optboolean(L, 1);
|
skipstats = lua_optboolean(L, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue