Skip to content

Commit

Permalink
Main: Fix hidden Disconnect button (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav4KZ committed Nov 4, 2021
1 parent 45e9799 commit 82ed1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion menus/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ void CMenuMain::VidInit( bool connected )
if( connected )
{
resumeGame.Show();
if( !EngFuncs::GetCvarFloat( "host_gameloaded" ) && !isSingle )
if( CL_IsActive() && !isSingle )
{
disconnect.Show();
console.pos.y = 130;
Expand Down

0 comments on commit 82ed1ff

Please sign in to comment.