diff options
Diffstat (limited to 'src/ui/ui_main.c')
-rw-r--r-- | src/ui/ui_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 896d0ca7..a1423e86 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3051,7 +3051,7 @@ static void UI_RunMenuScript( char **args ) else if( ui_chatCommands.integer && ( buffer[ 0 ] == '/' || buffer[ 0 ] == '\\' ) ) { - trap_Cmd_ExecuteText( EXEC_APPEND, buffer + 1 ); + trap_Cmd_ExecuteText( EXEC_APPEND, va( "%s\n", buffer + 1 ) ); } else if( uiInfo.chatTeam ) trap_Cmd_ExecuteText( EXEC_APPEND, va( "say_team \"%s\"\n", buffer ) ); |