mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't die from Ring Shooter at -20
This commit is contained in:
parent
c1a80e4b1b
commit
48e1ed5779
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ void K_DoIngameRespawn(player_t *player)
|
|||
K_DoFault(player);
|
||||
}
|
||||
|
||||
if (player->rings <= -20)
|
||||
if (player->rings <= -20 && (!player->ringShooter || P_MobjWasRemoved(player->ringShooter)))
|
||||
{
|
||||
P_KillMobj(player->mo, NULL, NULL, DMG_INSTAKILL);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue