diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_atoms.c | 4 |
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; } |