mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fix ringshooter death check to only activate if you are USING your ringshooter
This commit is contained in:
parent
48e1ed5779
commit
bf330bafcc
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 && (!player->ringShooter || P_MobjWasRemoved(player->ringShooter)))
|
if (player->rings <= -20 && !player->respawn.fromRingShooter)
|
||||||
{
|
{
|
||||||
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