Something like this:
Code: Select all
case NAME_Closemenu:
M_ClearMenus ();
return;
Moderator: GZDoom Developers
Code: Select all
case NAME_Closemenu:
M_ClearMenus ();
return;
Will this work from a ListMenu, though?Graf Zahl wrote:Added a 'closemenu' CCMD which allows you to do this without further extensions to the menu code itself.