Skip to content

Commit 0bb921e

Browse files
committed
Main: explicitly call VidInitItems on disconnect
1 parent 809d22e commit 0bb921e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

menus/Main.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,11 @@ void CMenuMain::QuitDialogCb()
436436

437437
void CMenuMain::DisconnectCb()
438438
{
439-
EngFuncs::ClientCmd( FALSE, "disconnect\n" );
439+
EngFuncs::ClientCmd( false, "disconnect\n" );
440440
VidInit( false );
441+
CalcPosition();
442+
CalcSizes();
443+
VidInitItems();
441444
}
442445

443446
void CMenuMain::DisconnectDialogCb()

0 commit comments

Comments
 (0)