From de42151d40624c59e1d20c095c8b4d129ea4eae1 Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 24 Aug 2007 11:10:41 +0000 Subject: * (bug 3054) sv_killserver not being set with TA UI git-svn-id: svn://svn.icculus.org/quake3/trunk@1135 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/ui/ui_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ui/ui_main.c b/code/ui/ui_main.c index e10e603..ea849fc 100644 --- a/code/ui/ui_main.c +++ b/code/ui/ui_main.c @@ -5248,7 +5248,7 @@ void _UI_SetActiveMenu( uiMenuCommand_t menu ) { return; case UIMENU_MAIN: - //trap_Cvar_Set( "sv_killserver", "1" ); + trap_Cvar_Set( "sv_killserver", "1" ); trap_Key_SetCatcher( KEYCATCH_UI ); //trap_S_StartLocalSound( trap_S_RegisterSound("sound/misc/menu_background.wav", qfalse) , CHAN_LOCAL_SOUND ); //trap_S_StartBackgroundTrack("sound/misc/menu_background.wav", NULL); @@ -5283,7 +5283,7 @@ void _UI_SetActiveMenu( uiMenuCommand_t menu ) { //UI_ConfirmMenu( "Bad CD Key", NULL, NeedCDKeyAction ); return; case UIMENU_POSTGAME: - //trap_Cvar_Set( "sv_killserver", "1" ); + trap_Cvar_Set( "sv_killserver", "1" ); trap_Key_SetCatcher( KEYCATCH_UI ); if (uiInfo.inGameLoad) { UI_LoadNonIngame(); -- cgit v1.2.3