mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Make sure that B_CheckRespawn can be called even if Tails is dead
This commit is contained in:
parent
482bfd0804
commit
e7952e4de7
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…
Add table
Reference in a new issue