From c3f60ca5b8c6a76bc32559c3cbd4f4acaf413535 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 1 Sep 2003 20:46:28 +0000 Subject: * Menus are now automatically closed upon death --- src/cgame/cg_servercmds.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/cgame') 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 ); } -- cgit