summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r--src/game/g_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index edefb98d..d77abc86 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -241,6 +241,8 @@ void QDECL G_Printf( const char *fmt, ... )
vsprintf( text, fmt, argptr );
va_end( argptr );
+ trap_SendServerCommand( -1, va( "gprintf \"%s\"", text ) );
+
trap_Printf( text );
}