From 6b85a755eba920fb654f8702c10a57751b3b91d8 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 28 Jan 2023 21:55:14 +0000 Subject: [PATCH] M_PrepeareTimeAttack: Match numlap count check behaviour for presence of best lap support --- src/menus/play-local-race-time-attack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/menus/play-local-race-time-attack.c b/src/menus/play-local-race-time-attack.c index d353c510b..301d5faca 100644 --- a/src/menus/play-local-race-time-attack.c +++ b/src/menus/play-local-race-time-attack.c @@ -216,7 +216,7 @@ void M_PrepareTimeAttack(INT32 choice) PLAY_TAReplayGuest[taguest_bestlap].status = PLAY_TAGhosts[taghost_bestlap].status = IT_DISABLED; if ((gametypes[levellist.newgametype]->rules & GTR_CIRCUIT) - && (mapheaderinfo[levellist.choosemap]->numlaps > 1) + && (mapheaderinfo[levellist.choosemap]->numlaps != 1) && FIL_FileExists(va("%s-%s-lap-best.lmp", gpath, cv_skin[0].string))) { PLAY_TAReplay[tareplay_bestlap].status = IT_STRING|IT_CALL;