From 55cbf07a28d94a5bed9830f411c5c76c03c04e87 Mon Sep 17 00:00:00 2001 From: toaster Date: Sat, 9 Mar 2024 14:01:49 +0000 Subject: [PATCH] Patch over MapWarp not meshing with Time Attack Prints a message saying your time wasn't recorded and you should try a different mode --- src/menus/transient/pause-replay.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/menus/transient/pause-replay.c b/src/menus/transient/pause-replay.c index abb0e89cf..ab30bac23 100644 --- a/src/menus/transient/pause-replay.c +++ b/src/menus/transient/pause-replay.c @@ -60,6 +60,22 @@ void M_EndModeAttackRun(void) return; } + if (nextmapoverride != 0) + { + M_StartMessage( + "Secret Exit", + va( + "No finish time was recorded.\n" + "Secrets don't work in Record modes!\n" + "Try again in %s.\n", + (gametype == GT_RACE) + ? "Grand Prix or Match Race" + : "Grand Prix" + ), + NULL, MM_NOTHING, NULL, NULL + ); + } + Command_ExitGame_f(); // Clear a bunch of state if (!modeattacking)