mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_CheckBumpers: do not end round with 1 player
- Fixes round ending instantly when warping to Battle with 1 human player and at least 1 other bot loaded
This commit is contained in:
parent
215446f42a
commit
e4f5e3c78e
1 changed files with 2 additions and 1 deletions
|
|
@ -175,6 +175,7 @@ void K_CheckBumpers(void)
|
||||||
{
|
{
|
||||||
// If every other player is eliminated, the
|
// If every other player is eliminated, the
|
||||||
// last player standing wins by default.
|
// last player standing wins by default.
|
||||||
|
if (numingame > 1)
|
||||||
K_EndBattleRound(kingofthehill != -1 ? &players[kingofthehill] : NULL);
|
K_EndBattleRound(kingofthehill != -1 ? &players[kingofthehill] : NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue