mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-25 13:51:43 +00:00
Use -1 as the default, not 0
This commit is contained in:
parent
b92dc42848
commit
f17493f379
1 changed files with 1 additions and 1 deletions
|
@ -3849,7 +3849,7 @@ static int lib_gSetCustomExitVars(lua_State *L)
|
|||
{
|
||||
nextmapoverride = (INT16)luaL_optinteger(L, 1, 0);
|
||||
skipstats = (INT16)luaL_optinteger(L, 2, 0);
|
||||
nextgametype = (INT16)luaL_optinteger(L, 3, 0);
|
||||
nextgametype = (INT16)luaL_optinteger(L, 3, -1);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue