Skip to content

Commit

Permalink
Revert "create main menu before confirm for being disconnected"
Browse files Browse the repository at this point in the history
This reverts commit acd1f23.

This unfortunately makes the problem worse. I can't test proposed
solutions to this issue until the main menu background re-render
finishes, which should be later today.
  • Loading branch information
BenLubar committed Nov 22, 2024
1 parent 8edb566 commit b60c14b
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
CBaseModFrame *pMainMenu = CBaseModPanel::GetSingleton().OpenWindow( WT_MAINMENU, NULL );
GenericConfirmation* confirmation = static_cast<GenericConfirmation*>( CBaseModPanel::GetSingleton().OpenWindow( WT_GENERICCONFIRMATION, pMainMenu ) );
GenericConfirmation* confirmation = static_cast<GenericConfirmation*>( CBaseModPanel::GetSingleton().OpenWindow( WT_GENERICCONFIRMATION, NULL, false ) );
CBaseModPanel::GetSingleton().OpenWindow( WT_MAINMENU, NULL );

GenericConfirmation::Data_t data;

Expand Down

0 comments on commit b60c14b

Please sign in to comment.