diff --git a/src/menus/options-profiles-1.c b/src/menus/options-profiles-1.c index c4ca13561..18a0316bc 100644 --- a/src/menus/options-profiles-1.c +++ b/src/menus/options-profiles-1.c @@ -123,6 +123,12 @@ void M_HandleProfileSelect(INT32 ch) boolean creatable = (maxp < MAXPROFILES); (void) ch; + if (menutransition.tics == 0 && optionsmenu.resetprofile) + { + optionsmenu.profile = NULL; // Make sure to reset that when transitions are done.' + optionsmenu.resetprofile = false; + } + if (!creatable) { maxp = MAXPROFILES; @@ -215,10 +221,4 @@ void M_HandleProfileSelect(INT32 ch) M_GoBack(0); M_SetMenuDelay(pid); } - - if (menutransition.tics == 0 && optionsmenu.resetprofile) - { - optionsmenu.profile = NULL; // Make sure to reset that when transitions are done.' - optionsmenu.resetprofile = false; - } }