Menus/Host: fix Gameplay Options and Server Options showing wrong header

- Previously could say VIDEO OPTIONS etc in those menus,
  when accessed from Host menu shortcut
This commit is contained in:
James R 2024-03-07 09:09:12 -08:00
parent 5607e8e393
commit 38811b2e4c

View file

@ -237,12 +237,14 @@ void M_GameplayOptions(INT32 choice)
{ {
(void)choice; (void)choice;
M_OptionsMenuGoto(&OPTIONS_GameplayDef); M_OptionsMenuGoto(&OPTIONS_GameplayDef);
OPTIONS_MainDef.lastOn = mopt_gameplay;
} }
void M_ServerOptions(INT32 choice) void M_ServerOptions(INT32 choice)
{ {
(void)choice; (void)choice;
M_OptionsMenuGoto(&OPTIONS_ServerDef); M_OptionsMenuGoto(&OPTIONS_ServerDef);
OPTIONS_MainDef.lastOn = mopt_server;
} }
boolean M_OptionsInputs(INT32 ch) boolean M_OptionsInputs(INT32 ch)