From 9fb0efae3c101c1f0b1e8b6bcc9f7e2c666aef64 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 28 Jan 2024 17:06:47 -0600 Subject: [PATCH] Don't affect GP status if retrying Fixes KartKrew/Kart#997, and then some. The bot difficulty was also being affected by retrying after completing a race, so that's prevented too. --- src/g_game.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_game.c b/src/g_game.c index 88effe9d8..9273511ac 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -4249,7 +4249,7 @@ static void G_DoCompleted(void) } } - if (grandprixinfo.gp == true && grandprixinfo.wonround == true && player->exiting) + if (grandprixinfo.gp == true && grandprixinfo.wonround == true && player->exiting && !retrying) { if (player->bot == true) {