Fix ringshooter death check to only activate if you are USING your ringshooter

This commit is contained in:
Antonio Martinez 2025-09-25 22:56:16 -04:00
parent 48e1ed5779
commit bf330bafcc

View file

@ -176,7 +176,7 @@ void K_DoIngameRespawn(player_t *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);
return;