mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-21 20:11:12 +00:00
Prevent bots from taking slot 0 with lua.
This commit is contained in:
parent
332445ae55
commit
60eb9fdb44
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