From 2cdb110702c31af707e613f8503e8129a80f703d Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 6 Jul 2008 10:55:19 +0000 Subject: * Fix killserver command for client binary based dedicated server git-svn-id: svn://svn.icculus.org/quake3/trunk@1414 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 98b8644..21a56f6 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -2552,7 +2552,7 @@ void CL_Frame ( int msec ) { cls.cddialog = qfalse; VM_Call( uivm, UI_SET_ACTIVE_MENU, UIMENU_NEED_CD ); } else if ( cls.state == CA_DISCONNECTED && !( Key_GetCatcher( ) & KEYCATCH_UI ) - && !com_sv_running->integer ) { + && !com_sv_running->integer && uivm ) { // if disconnected, bring up the menu S_StopAllSounds(); VM_Call( uivm, UI_SET_ACTIVE_MENU, UIMENU_MAIN ); -- cgit v1.2.3