diff options
Diffstat (limited to 'src/client/cl_console.c')
-rw-r--r-- | src/client/cl_console.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/cl_console.c b/src/client/cl_console.c index d80bff0f..efbf2d17 100644 --- a/src/client/cl_console.c +++ b/src/client/cl_console.c @@ -378,9 +378,13 @@ void CL_ConsolePrint( char *txt ) { } if( !skipnotify && !( cls.keyCatchers & KEYCATCH_CONSOLE ) ) { + Cmd_SaveCmdContext( ); + // feed the text to cgame Cmd_TokenizeString( txt ); CL_GameConsoleText( ); + + Cmd_RestoreCmdContext( ); } color = ColorIndex(COLOR_WHITE); |