mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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);
|
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);
|
P_KillMobj(player->mo, NULL, NULL, DMG_INSTAKILL);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue