Fix "press any other key" sending you to HOM hell.

This commit is contained in:
toaster 2020-05-15 14:24:29 +01:00
parent 271c6d354b
commit f06206cd5f

View file

@ -10376,14 +10376,16 @@ static void M_MarathonLiveEventBackup(INT32 choice)
marathonmode = 0; marathonmode = 0;
return; return;
} }
else if (choice == KEY_DEL)
M_StopMessage(0);
stopstopmessage = true;
if (choice == KEY_DEL)
{ {
M_StopMessage(0);
if (FIL_FileExists(liveeventbackup)) // just in case someone deleted it while we weren't looking. if (FIL_FileExists(liveeventbackup)) // just in case someone deleted it while we weren't looking.
remove(liveeventbackup); remove(liveeventbackup);
BwehHehHe(); BwehHehHe();
M_StartMessage("Live event backup erased.\n",M_Marathon,MM_NOTHING); M_StartMessage("Live event backup erased.\n",M_Marathon,MM_NOTHING);
stopstopmessage = true;
return; return;
} }