mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Merge branch 'botdonttakezero' into 'next'
Prevent bots from taking slot 0 with lua. (electric boogaloo) See merge request STJr/SRB2!2482
This commit is contained in:
commit
7acdd50e30
1 changed files with 1 additions and 1 deletions
|
@ -3878,7 +3878,7 @@ static int lib_gAddPlayer(lua_State *L)
|
|||
player_t *newplayer;
|
||||
SINT8 skinnum = 0, bot;
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
for (i = 1; i < MAXPLAYERS; i++)
|
||||
{
|
||||
if (!playeringame[i])
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue