Fix the profile closing if you back out from the profile charsel

This commit is contained in:
SinnamonLat 2022-02-26 10:56:16 +01:00
parent c750c17f37
commit ca11e07f95

View file

@ -2366,6 +2366,7 @@ static boolean M_HandleCharacterGrid(setup_player_t *p, UINT8 num)
if (optionsmenu.profile)
{
memset(setup_player, 0, sizeof(setup_player)); // Reset setup_player otherwise it does some VERY funky things.
M_SetMenuDelay(0);
M_GoBack(0);
return true;
}