mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix guest deletion confirmation returning to Record Attack menu from Nights Mode menu
This commit is contained in:
parent
7d14796954
commit
a3f3dd649f
1 changed files with 1 additions and 4 deletions
|
@ -10103,10 +10103,7 @@ static void M_EraseGuest(INT32 choice)
|
||||||
(void)choice;
|
(void)choice;
|
||||||
if (FIL_FileExists(rguest))
|
if (FIL_FileExists(rguest))
|
||||||
remove(rguest);
|
remove(rguest);
|
||||||
if (currentMenu == &SP_NightsGuestReplayDef)
|
M_SetupNextMenu(currentMenu->prevMenu->prevMenu);
|
||||||
M_SetupNextMenu(&SP_NightsAttackDef);
|
|
||||||
else
|
|
||||||
M_SetupNextMenu(&SP_TimeAttackDef);
|
|
||||||
Nextmap_OnChange();
|
Nextmap_OnChange();
|
||||||
M_StartMessage(M_GetText("Guest replay data erased.\n"),NULL,MM_NOTHING);
|
M_StartMessage(M_GetText("Guest replay data erased.\n"),NULL,MM_NOTHING);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue