Fix help menu not returning to main menu.
This commit is contained in:
parent
f023bd3a5d
commit
7f98c28089
3 changed files with 6 additions and 2 deletions
|
|
@ -310,8 +310,11 @@ Class SWWMStaticHandler : StaticEventHandler
|
|||
Menu cur = Menu.GetCurrentMenu();
|
||||
if ( cur is 'ReadThisMenu' )
|
||||
{
|
||||
Menu oldpt = cur.mParentMenu;
|
||||
cur.Close();
|
||||
Menu.SetMenu('SWWMHelpMenu');
|
||||
cur = Menu.GetCurrentMenu();
|
||||
if ( cur ) cur.mParentMenu = oldpt;
|
||||
}
|
||||
// Fancy crash effect
|
||||
if ( (gamestate == GS_LEVEL) || (gamestate == GS_TITLELEVEL) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue