summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-09-01 20:46:28 +0000
committerTim Angus <tim@ngus.net>2003-09-01 20:46:28 +0000
commitc3f60ca5b8c6a76bc32559c3cbd4f4acaf413535 (patch)
tree88a24e45227aa134dd3a2bdba325411ff7e9117f /src/cgame
parente390136fd151bfa813d250357815d4f38b1f927c (diff)
* Menus are now automatically closed upon death
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_servercmds.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index e3fee20c..f6cef10f 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -809,6 +809,13 @@ static void CG_ServerCommand( void )
}
}
+ //the server thinks this client should close all menus
+ if( !strcmp( cmd, "serverclosemenus" ) )
+ {
+ trap_SendConsoleCommand( "closemenus\n" );
+ return;
+ }
+
CG_Printf( "Unknown client game command: %s\n", cmd );
}