Patch over MapWarp not meshing with Time Attack

Prints a message saying your time wasn't recorded and you should try a different mode
This commit is contained in:
toaster 2024-03-09 14:01:49 +00:00
parent fc3a0683ba
commit 55cbf07a28

View file

@ -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)