Fix guest deletion confirmation returning to Record Attack menu from Nights Mode menu

This commit is contained in:
Steel Titanium 2020-03-08 00:02:43 -05:00
parent 7d14796954
commit a3f3dd649f

View file

@ -10103,10 +10103,7 @@ static void M_EraseGuest(INT32 choice)
(void)choice;
if (FIL_FileExists(rguest))
remove(rguest);
if (currentMenu == &SP_NightsGuestReplayDef)
M_SetupNextMenu(&SP_NightsAttackDef);
else
M_SetupNextMenu(&SP_TimeAttackDef);
M_SetupNextMenu(currentMenu->prevMenu->prevMenu);
Nextmap_OnChange();
M_StartMessage(M_GetText("Guest replay data erased.\n"),NULL,MM_NOTHING);
}