mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-31 04:50:42 +00:00
* (bug 3054) sv_killserver not being set with TA UI
This commit is contained in:
parent
3d107fe624
commit
5c66129790
1 changed files with 2 additions and 2 deletions
|
@ -5248,7 +5248,7 @@ void _UI_SetActiveMenu( uiMenuCommand_t menu ) {
|
||||||
|
|
||||||
return;
|
return;
|
||||||
case UIMENU_MAIN:
|
case UIMENU_MAIN:
|
||||||
//trap_Cvar_Set( "sv_killserver", "1" );
|
trap_Cvar_Set( "sv_killserver", "1" );
|
||||||
trap_Key_SetCatcher( KEYCATCH_UI );
|
trap_Key_SetCatcher( KEYCATCH_UI );
|
||||||
//trap_S_StartLocalSound( trap_S_RegisterSound("sound/misc/menu_background.wav", qfalse) , CHAN_LOCAL_SOUND );
|
//trap_S_StartLocalSound( trap_S_RegisterSound("sound/misc/menu_background.wav", qfalse) , CHAN_LOCAL_SOUND );
|
||||||
//trap_S_StartBackgroundTrack("sound/misc/menu_background.wav", NULL);
|
//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 );
|
//UI_ConfirmMenu( "Bad CD Key", NULL, NeedCDKeyAction );
|
||||||
return;
|
return;
|
||||||
case UIMENU_POSTGAME:
|
case UIMENU_POSTGAME:
|
||||||
//trap_Cvar_Set( "sv_killserver", "1" );
|
trap_Cvar_Set( "sv_killserver", "1" );
|
||||||
trap_Key_SetCatcher( KEYCATCH_UI );
|
trap_Key_SetCatcher( KEYCATCH_UI );
|
||||||
if (uiInfo.inGameLoad) {
|
if (uiInfo.inGameLoad) {
|
||||||
UI_LoadNonIngame();
|
UI_LoadNonIngame();
|
||||||
|
|
Loading…
Reference in a new issue