mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Battle: final KO gives the winner 100 points
This commit is contained in:
parent
54cf037eff
commit
97e5d7404a
1 changed files with 1 additions and 0 deletions
|
|
@ -3909,6 +3909,7 @@ void K_BattleAwardHit(player_t *player, player_t *victim, mobj_t *inflictor, UIN
|
||||||
// Check this before adding to player score
|
// Check this before adding to player score
|
||||||
if ((gametyperules & GTR_BUMPERS) && finishOff && g_pointlimit <= player->roundscore)
|
if ((gametyperules & GTR_BUMPERS) && finishOff && g_pointlimit <= player->roundscore)
|
||||||
{
|
{
|
||||||
|
player->roundscore = 100; // Make sure you win!
|
||||||
P_DoAllPlayersExit(0, false);
|
P_DoAllPlayersExit(0, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue