mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-25 09:22:33 +00:00
Merge branch 'fix-no-contest-after-win' into 'master'
Don't NO CONTEST a player who has already finished, if they die afterward See merge request KartKrew/Kart!1073
This commit is contained in:
commit
e5d4e2604e
1 changed files with 6 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue