Skip to content

Commit

Permalink
create main menu before confirm for being disconnected
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLubar committed Nov 22, 2024
1 parent add9c60 commit acd1f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/client/swarm/gameui/swarm/uigamedata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1249,8 +1249,8 @@ void CUIGameData::OnEvent( KeyValues *pEvent )
CBaseModPanel::GetSingleton().CloseAllWindows( CBaseModPanel::CLOSE_POLICY_EVEN_MSGS );

// Show the message box
GenericConfirmation* confirmation = static_cast<GenericConfirmation*>( CBaseModPanel::GetSingleton().OpenWindow( WT_GENERICCONFIRMATION, NULL, false ) );
CBaseModPanel::GetSingleton().OpenWindow( WT_MAINMENU, NULL );
CBaseModFrame *pMainMenu = CBaseModPanel::GetSingleton().OpenWindow( WT_MAINMENU, NULL );
GenericConfirmation* confirmation = static_cast<GenericConfirmation*>( CBaseModPanel::GetSingleton().OpenWindow( WT_GENERICCONFIRMATION, pMainMenu ) );

GenericConfirmation::Data_t data;

Expand Down

0 comments on commit acd1f23

Please sign in to comment.