Skip to content

Commit

Permalink
* (bug 3054) sv_killserver not being set with TA UI
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Aug 24, 2007
1 parent 3d107fe commit 5c66129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ui/ui_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 5c66129

Please sign in to comment.