summaryrefslogtreecommitdiff
path: root/src/ui/ui_atoms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_atoms.c')
-rw-r--r--src/ui/ui_atoms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/ui_atoms.c b/src/ui/ui_atoms.c
index bb12a972..65cfd0b1 100644
--- a/src/ui/ui_atoms.c
+++ b/src/ui/ui_atoms.c
@@ -166,6 +166,8 @@ qboolean UI_ConsoleCommand( int realTime )
uiInfo.chatTeam = qfalse;
trap_Key_SetCatcher( KEYCATCH_UI );
+ Menus_CloseByName( "say" );
+ Menus_CloseByName( "say_team" );
Menus_ActivateByName( "say" );
return qtrue;
}
@@ -177,6 +179,8 @@ qboolean UI_ConsoleCommand( int realTime )
uiInfo.chatTeam = qtrue;
trap_Key_SetCatcher( KEYCATCH_UI );
+ Menus_CloseByName( "say" );
+ Menus_CloseByName( "say_team" );
Menus_ActivateByName( "say_team" );
return qtrue;
}