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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index dbaef63b..d711216c 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -241,7 +241,8 @@ void QDECL G_Printf( const char *fmt, ... )
vsprintf( text, fmt, argptr );
va_end( argptr );
- trap_SendServerCommand( -1, va( "gprintf \"%s\"", text ) );
+ if( !g_dedicated.integer )
+ trap_SendServerCommand( -1, va( "gprintf \"%s\"", text ) );
trap_Printf( text );
}