From e4f5e3c78e31c8e906ef906a6093231e02af0348 Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 7 Mar 2024 02:25:33 -0800 Subject: [PATCH] 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 --- src/k_battle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/k_battle.c b/src/k_battle.c index d08fcee2c..ffd370ee2 100644 --- a/src/k_battle.c +++ b/src/k_battle.c @@ -175,7 +175,8 @@ void K_CheckBumpers(void) { // If every other player is eliminated, the // last player standing wins by default. - K_EndBattleRound(kingofthehill != -1 ? &players[kingofthehill] : NULL); + if (numingame > 1) + K_EndBattleRound(kingofthehill != -1 ? &players[kingofthehill] : NULL); return; }