Don't NO CONTEST a player who has already finished, if they die afterward

This commit is contained in:
James R 2023-03-20 21:49:50 -07:00
parent cd7d4f23c7
commit 1570661f20

View file

@ -1437,7 +1437,12 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
if (K_Cooperative())
{
target->player->pflags |= (PF_NOCONTEST|PF_ELIMINATED);
target->player->pflags |= PF_ELIMINATED;
if (!target->player->exiting)
{
target->player->pflags |= PF_NOCONTEST;
}
}
break;