mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Battle: fix being able to gain points or win from "final" KO after round ends
This commit is contained in:
parent
06514b0e8f
commit
6197458ca4
1 changed files with 6 additions and 0 deletions
|
|
@ -3897,6 +3897,12 @@ void K_BattleAwardHit(player_t *player, player_t *victim, mobj_t *inflictor, UIN
|
|||
return;
|
||||
}
|
||||
|
||||
if (player->exiting)
|
||||
{
|
||||
// The round has already ended, don't mess with points
|
||||
return;
|
||||
}
|
||||
|
||||
if ((inflictor && !P_MobjWasRemoved(inflictor)) && (inflictor->type == MT_BANANA && inflictor->health > 1))
|
||||
{
|
||||
trapItem = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue