mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
Merge branch 'tails-bot-dead-forever-fix' into 'next'
Tails bot dead forever fix See merge request STJr/SRB2!461
This commit is contained in:
commit
d44cb36d53
1 changed files with 5 additions and 2 deletions
|
@ -8688,8 +8688,11 @@ void P_PlayerThink(player_t *player)
|
|||
|
||||
if (player->bot)
|
||||
{
|
||||
if (player->playerstate == PST_LIVE && B_CheckRespawn(player))
|
||||
player->playerstate = PST_REBORN;
|
||||
if (player->playerstate == PST_LIVE || player->playerstate == PST_DEAD)
|
||||
{
|
||||
if (B_CheckRespawn(player))
|
||||
player->playerstate = PST_REBORN;
|
||||
}
|
||||
if (player->playerstate == PST_REBORN)
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue